Class: Monoz::ActionCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/monoz/action.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commandObject (readonly)

Returns the value of attribute command.



5
6
7
# File 'lib/monoz/action.rb', line 5

def command
  @command
end

#filterObject (readonly)

Returns the value of attribute filter.



5
6
7
# File 'lib/monoz/action.rb', line 5

def filter
  @filter
end