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



9
10
11
# File 'lib/moonshot/commands/version.rb', line 9

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