Class: Moonshot::Commands::Version

Inherits:
Moonshot::Command show all
Defined in:
lib/moonshot/commands/version.rb

Instance Method Summary collapse

Methods inherited from Moonshot::Command

inherited, #parser

Instance Method Details

#executeObject



7
8
9
# File 'lib/moonshot/commands/version.rb', line 7

def execute
  puts Gem.loaded_specs['moonshot'].version
end