Method: UI.display_method_control
- Defined in:
- lib/ruby_doc/cli/ui.rb
.display_method_control(doc) ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/ruby_doc/cli/ui.rb', line 74 def self.display_method_control(doc) prompt input = my_gets case input when "s" Processor.save(doc) when "m" RubyDoc::CLI.start when "exit!" exit! else display_method_error end end |