Class: TM::Commands::Command
- Inherits:
-
Object
- Object
- TM::Commands::Command
- Defined in:
- lib/tm/commands/command.rb
Direct Known Subclasses
CreateComment, CreateTask, FirstProject, FirstTask, LastProject, LastTask, ListAllCommentsForTask, ListAllProjects, ListAllTasks, SingleProject, SingleTask
Instance Method Summary collapse
-
#initialize(provider_handler, formatter, attributes = '') ⇒ Command
constructor
A new instance of Command.
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 |