Class: Coltrane::Commands::Command

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



4
5
6
# File 'lib/coltrane/commands/command.rb', line 4

def error
  @error
end

Class Method Details

.run(*args) ⇒ Object



6
7
8
# File 'lib/coltrane/commands/command.rb', line 6

def self.run(*args)
  new.run(*args)
end