Class: SequenceServer::Report

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/sequenceserver/report.rb

Overview

Create report for the given job.

Report is a generic superclass. Programs, like BLAST, must implement their own report subclass.

Direct Known Subclasses

BLAST::Report

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(job) ⇒ Report

Returns a new instance of Report.



14
15
16
17
# File 'lib/sequenceserver/report.rb', line 14

def initialize(job)
  @job = job
  yield if block_given?
end

Instance Attribute Details

#jobObject (readonly)

Returns the value of attribute job.



19
20
21
# File 'lib/sequenceserver/report.rb', line 19

def job
  @job
end