Module: Preseason::GeneratorContext
Class Attribute Summary collapse
-
.context ⇒ Object
Returns the value of attribute context.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args, &blk) ⇒ Object
16 17 18 |
# File 'lib/preseason/generator_context.rb', line 16 def method_missing(meth, *args, &blk) GeneratorContext.context.send meth, *args, &blk end |
Class Attribute Details
.context ⇒ Object
Returns the value of attribute context.
4 5 6 |
# File 'lib/preseason/generator_context.rb', line 4 def context @context end |