Class: MM::Command::Favorites
- Inherits:
-
AbstractCommand
- Object
- AbstractCommand
- MM::Command::Favorites
- Defined in:
- lib/mm/cmds/favorites.rb
Instance Method Summary collapse
Methods inherited from AbstractCommand
#cache_options, #card_property?, #display_value, #doc, #options, #output, #parse, #run, #user_property?
Instance Method Details
#do_once ⇒ Object
24 25 26 |
# File 'lib/mm/cmds/favorites.rb', line 24 def do_once favorites end |
#view(favorites) ⇒ Object
20 21 22 |
# File 'lib/mm/cmds/favorites.rb', line 20 def view(favorites) output "All favorites: \n#{favorites.collect{|f| " * #{f.name}"}.join("\n")}" end |