Class: Alx::AddHandler
Instance Attribute Summary
Attributes inherited from Handler
Instance Method Summary collapse
- #handle ⇒ Object
-
#initialize(configuration) ⇒ AddHandler
constructor
A new instance of AddHandler.
Methods inherited from Handler
Constructor Details
#initialize(configuration) ⇒ AddHandler
Returns a new instance of AddHandler.
7 8 9 10 11 12 13 14 |
# File 'lib/alx/add_handler.rb', line 7 def initialize( configuration ) super( :configuration => configuration, :command => 'add', :rest_description => 'book title', :description => "Adds new book to the library.", :options => [ :editor, :stdin ] ) end |