Class: Monoz::ActionCommand
- Inherits:
-
Object
- Object
- Monoz::ActionCommand
- Defined in:
- lib/monoz/action.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#filter ⇒ Object
readonly
Returns the value of attribute filter.
Instance Method Summary collapse
-
#initialize(filter, command) ⇒ ActionCommand
constructor
A new instance of ActionCommand.
Constructor Details
#initialize(filter, command) ⇒ ActionCommand
Returns a new instance of ActionCommand.
6 7 8 9 |
# File 'lib/monoz/action.rb', line 6 def initialize(filter, command) @filter = filter @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
5 6 7 |
# File 'lib/monoz/action.rb', line 5 def command @command end |
#filter ⇒ Object (readonly)
Returns the value of attribute filter.
5 6 7 |
# File 'lib/monoz/action.rb', line 5 def filter @filter end |