Class: Poke::Command
- Inherits:
-
Object
- Object
- Poke::Command
- Defined in:
- lib/poke/command.rb
Direct Known Subclasses
Poke::Commands::Curl, Poke::Commands::Env, Poke::Commands::Init, Poke::Commands::Lru::Cat, Poke::Commands::Lru::Reset, Poke::Commands::Response, Poke::Commands::Speed
Defined Under Namespace
Classes: NotImplementedError
Instance Method Summary collapse
- #execute(args = {}) ⇒ Object
-
#initialize(options = {}) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(options = {}) ⇒ Command
Returns a new instance of Command.
7 8 9 |
# File 'lib/poke/command.rb', line 7 def initialize( = {}) @options = end |
Instance Method Details
#execute(args = {}) ⇒ Object
11 12 13 |
# File 'lib/poke/command.rb', line 11 def execute(args = {}) run(*args) end |