Class: Balotelli::Core::Router::Action
- Inherits:
-
Object
- Object
- Balotelli::Core::Router::Action
- Defined in:
- lib/balotelli/core/router/action.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#mod_name ⇒ Object
readonly
Returns the value of attribute mod_name.
Instance Method Summary collapse
-
#initialize(block, mod_name) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(block, mod_name) ⇒ Action
Returns a new instance of Action.
6 7 8 9 |
# File 'lib/balotelli/core/router/action.rb', line 6 def initialize(block, mod_name) @block = block @mod_name = mod_name end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
5 6 7 |
# File 'lib/balotelli/core/router/action.rb', line 5 def block @block end |
#mod_name ⇒ Object (readonly)
Returns the value of attribute mod_name.
5 6 7 |
# File 'lib/balotelli/core/router/action.rb', line 5 def mod_name @mod_name end |