Class: Oncotator::Transcript

Inherits:
Object
  • Object
show all
Defined in:
lib/oncotator.rb

Instance Method Summary collapse

Constructor Details

#initialize(txp) ⇒ Transcript

Returns a new instance of Transcript.



100
101
102
# File 'lib/oncotator.rb', line 100

def initialize(txp)
  @txp = txp || {}
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args, &block) ⇒ Object



104
105
106
# File 'lib/oncotator.rb', line 104

def method_missing(meth,*args,&block)
  @txp[meth.to_s] || nil
end