Class: Mysh::RubyInfoCommand

Inherits:
Action show all
Defined in:
lib/mysh/show/ruby.rb

Overview

Get info on the ruby environment.

Instance Attribute Summary

Attributes inherited from Action

#description, #name

Instance Method Summary collapse

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