Class: Healthy::GemList

Inherits:
Object
  • Object
show all
Defined in:
lib/healthy/gem_list.rb

Instance Method Summary collapse

Instance Method Details

#infoObject



7
8
9
10
11
12
13
14
15
# File 'lib/healthy/gem_list.rb', line 7

def info
  [ 
  "RUBY_VERSION=#{RUBY_VERSION}",
  "RUBY_PATCHLEVEL=#{RUBY_PATCHLEVEL}",
  "RUBY_PLATFORM=#{RUBY_PLATFORM}",
  "RUBY_RELEASE_DATE=#{RUBY_RELEASE_DATE}",
  `gem list`
  ].join("\n")
end

#nameObject



3
4
5
# File 'lib/healthy/gem_list.rb', line 3

def name
  'Installed Ruby And Gems'
end