Module: EcoRake::Option::Parented
- Included in:
- EcoRake::Option
- Defined in:
- lib/eco-rake/option/parented.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
Returns the value of attribute parent.
Instance Method Summary collapse
Instance Attribute Details
#parent ⇒ Object
Returns the value of attribute parent.
4 5 6 |
# File 'lib/eco-rake/option/parented.rb', line 4 def parent @parent end |
Instance Method Details
#initialize(*args, _parent: nil, **kargs, &block) ⇒ Object
6 7 8 9 |
# File 'lib/eco-rake/option/parented.rb', line 6 def initialize(*args, _parent: nil, **kargs, &block) self.parent = _parent super(*args, **kargs, &block) end |