Class: Reactive::Initializer::Stage
- Defined in:
- lib/reactive-core/initializer.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#name ⇒ Object
Returns the value of attribute name.
-
#proc ⇒ Object
Returns the value of attribute proc.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equivalence based on #name.
-
#initialize(name, level, proc) ⇒ Stage
constructor
A new instance of Stage.
Constructor Details
#initialize(name, level, proc) ⇒ Stage
Returns a new instance of Stage.
272 273 274 |
# File 'lib/reactive-core/initializer.rb', line 272 def initialize(name, level, proc) @name, @level, @proc = name, level, proc end |
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
271 272 273 |
# File 'lib/reactive-core/initializer.rb', line 271 def level @level end |
#name ⇒ Object
Returns the value of attribute name.
271 272 273 |
# File 'lib/reactive-core/initializer.rb', line 271 def name @name end |
#proc ⇒ Object
Returns the value of attribute proc.
271 272 273 |
# File 'lib/reactive-core/initializer.rb', line 271 def proc @proc end |