Class: PrintRubyInfo::CLI

Inherits:
Command
  • Object
show all
Defined in:
lib/print_ruby_info/cli.rb,
lib/print_ruby_info/cli/help.rb

Defined Under Namespace

Classes: Help

Instance Method Summary collapse

Methods inherited from Command

dispatch

Instance Method Details

#infoObject



12
13
14
15
16
17
# File 'lib/print_ruby_info/cli.rb', line 12

def info
  puts "RUBY_VERSION #{RUBY_VERSION}"
  puts File.expand_path("../../../bin/print_ruby_info", __FILE__)
  puts "LOAD_PATH:"
  puts $:
end