Class: Enumex::ActionContainer
- Inherits:
-
Object
- Object
- Enumex::ActionContainer
- Extended by:
- Forwardable
- Defined in:
- lib/enumex/action_container.rb
Instance Attribute Summary collapse
-
#extenders ⇒ Object
readonly
Returns the value of attribute extenders.
Instance Method Summary collapse
-
#initialize(root) ⇒ ActionContainer
constructor
A new instance of ActionContainer.
Constructor Details
#initialize(root) ⇒ ActionContainer
Returns a new instance of ActionContainer.
11 12 13 14 |
# File 'lib/enumex/action_container.rb', line 11 def initialize(root) @root = root @extenders = [] end |
Instance Attribute Details
#extenders ⇒ Object (readonly)
Returns the value of attribute extenders.
9 10 11 |
# File 'lib/enumex/action_container.rb', line 9 def extenders @extenders end |