Class: MM::Command::Tabs
- Inherits:
-
AbstractCommand
- Object
- AbstractCommand
- MM::Command::Tabs
- Defined in:
- lib/mm/cmds/tabs.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
23 24 25 |
# File 'lib/mm/cmds/tabs.rb', line 23 def do_once favorites.select{|f|f.tab_view} end |
#view(tabs) ⇒ Object
19 20 21 |
# File 'lib/mm/cmds/tabs.rb', line 19 def view(tabs) output "All tabs: \n#{tabs.collect{|f| " * #{f.name}"}.join("\n")}" end |