Class: RubyPocket::Cli::AddAction
- Inherits:
-
Object
- Object
- RubyPocket::Cli::AddAction
- Defined in:
- lib/ruby_pocket/cli/add_action.rb
Instance Method Summary collapse
Instance Method Details
#call(options) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/ruby_pocket/cli/add_action.rb', line 4 def call() creator = FavoriteCreator.new(.values) creator.save puts "Favorite '#{creator.name}' created!" end |