Class: Mysh::RubyInfoCommand
Overview
Get info on the ruby environment.
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
-
#process_command(_input) ⇒ Object
Execute the @ruby shell command.
Methods inherited from Action
#action_info, #initialize, #process_quick_command, #short_name
Constructor Details
This class inherits a constructor from Mysh::Action
Instance Method Details
#process_command(_input) ⇒ Object
Execute the @ruby shell command.
10 11 12 13 14 |
# File 'lib/mysh/show/ruby.rb', line 10 def process_command(_input) puts "Key ruby environment information.", "" puts info.format_output_bullets, "", path.format_output_bullets, "" end |