Class: DSLMethods
- Inherits:
-
Object
- Object
- DSLMethods
- Defined in:
- lib/webget_ruby_dsl_methods.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(parent) ⇒ DSLMethods
constructor
A new instance of DSLMethods.
Constructor Details
#initialize(parent) ⇒ DSLMethods
Returns a new instance of DSLMethods.
21 22 23 |
# File 'lib/webget_ruby_dsl_methods.rb', line 21 def initialize(parent) @parent=parent end |
Instance Attribute Details
#parent ⇒ Object
Returns the value of attribute parent.
19 20 21 |
# File 'lib/webget_ruby_dsl_methods.rb', line 19 def parent @parent end |