Module: Leonidas::Commands::Handler

Defined in:
lib/leonidas/commands/handler.rb

Instance Method Summary collapse

Instance Method Details

#handles?(command) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/leonidas/commands/handler.rb', line 6

def handles?(command)
	false
end

#persist(command) ⇒ Object



14
15
16
# File 'lib/leonidas/commands/handler.rb', line 14

def persist(command)
	# perform the command
end

#run(command) ⇒ Object



10
11
12
# File 'lib/leonidas/commands/handler.rb', line 10

def run(command)
	# perform the command
end