Class: Oncotator::Transcript
- Inherits:
-
Object
- Object
- Oncotator::Transcript
- Defined in:
- lib/oncotator.rb
Instance Method Summary collapse
-
#initialize(txp) ⇒ Transcript
constructor
A new instance of Transcript.
- #method_missing(meth, *args, &block) ⇒ Object
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 |