Class: Photish::Command::Version
- Defined in:
- lib/photish/command/version.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Log::SafeBlock
Methods included from Log::Loggable
Constructor Details
This class inherits a constructor from Photish::Command::Base
Instance Method Details
#run ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/photish/command/version.rb', line 4 def run puts "#{Photish::NAME_AND_VERSION}" puts '' puts "#{RUBY_DESCRIPTION}" puts '' puts "RubyGems:" Gem.loaded_specs.values.each {|x| puts "- #{x.name} #{x.version}" } end |