Class: TM::Commands::Command

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

Instance Method Summary collapse

Constructor Details

#initialize(provider_handler, formatter, attributes = '') ⇒ Command

Returns a new instance of Command.



4
5
6
7
8
# File 'lib/tm/commands/command.rb', line 4

def initialize(provider_handler, formatter, attributes = '') 
  @provider_handler = provider_handler
  @formatter = formatter
  @attributes = attributes.extend(TM::StringExtensions).to_hash
end