Class: Poke::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/poke/command.rb

Defined Under Namespace

Classes: NotImplementedError

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Command

Returns a new instance of Command.



7
8
9
# File 'lib/poke/command.rb', line 7

def initialize(options = {})
  @options = options
end

Instance Method Details

#execute(args = {}) ⇒ Object



11
12
13
# File 'lib/poke/command.rb', line 11

def execute(args = {})
  run(*args)
end