Class: Wizardry::Routing::NextPage
- Inherits:
-
Object
- Object
- Wizardry::Routing::NextPage
- Defined in:
- lib/wizardry/routing/next_page.rb
Instance Attribute Summary collapse
-
#condition ⇒ Object
readonly
Returns the value of attribute condition.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, condition = nil, label: nil) ⇒ NextPage
constructor
A new instance of NextPage.
Constructor Details
#initialize(name, condition = nil, label: nil) ⇒ NextPage
Returns a new instance of NextPage.
6 7 8 9 10 |
# File 'lib/wizardry/routing/next_page.rb', line 6 def initialize(name, condition = nil, label: nil) @name = name @condition = condition @label = label end |
Instance Attribute Details
#condition ⇒ Object (readonly)
Returns the value of attribute condition.
4 5 6 |
# File 'lib/wizardry/routing/next_page.rb', line 4 def condition @condition end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
4 5 6 |
# File 'lib/wizardry/routing/next_page.rb', line 4 def label @label end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/wizardry/routing/next_page.rb', line 4 def name @name end |