Class: MFXcode::Plugins::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/mfxcode/plugins/version.rb

Overview

Prints version

Instance Method Summary collapse

Instance Method Details

#helpObject



25
26
27
28
29
30
31
32
# File 'lib/mfxcode/plugins/version.rb', line 25

def help
  {:short => 'Prints version',
   :long => "Usage: version\n\nPrints version\n" }
end

#run(args) ⇒ Object



34
35
36
37
38
# File 'lib/mfxcode/plugins/version.rb', line 34

def run(args)
 
puts "MFXcode version: #{MFXcode::VERSION}"

end