Class: Ppl::Application::Command
- Inherits:
-
Object
- Object
- Ppl::Application::Command
- Defined in:
- lib/ppl/application/command.rb
Direct Known Subclasses
Command::Add, Command::Bday, Command::Email, Command::Help, Command::Init, Command::Ls, Command::Mutt, Command::Mv, Command::Name, Command::Org, Command::Phone, Command::Post, Command::Rm, Command::Show
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#storage ⇒ Object
Returns the value of attribute storage.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/ppl/application/command.rb', line 5 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/ppl/application/command.rb', line 4 def name @name end |
#storage ⇒ Object
Returns the value of attribute storage.
6 7 8 |
# File 'lib/ppl/application/command.rb', line 6 def storage @storage end |
Instance Method Details
#execute(input, output) ⇒ Object
8 9 10 |
# File 'lib/ppl/application/command.rb', line 8 def execute(input, output) raise NotImplementedError end |
#options(parser, options) ⇒ Object
12 13 |
# File 'lib/ppl/application/command.rb', line 12 def (parser, ) end |