Class: TCFramework

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

Instance Method Summary collapse

Constructor Details

#initialize(name, tc) ⇒ TCFramework

Returns a new instance of TCFramework.



13
14
15
# File 'lib/TCLib.rb', line 13

def initialize(name, tc)
    @name, @tc = name, tc
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args, &blk) ⇒ Object (private)



18
19
20
# File 'lib/TCLib.rb', line 18

def method_missing(meth, *args, &blk)
    TCLibrary.new(@name+"."+meth.to_s, @tc)
end