Class: Cucover::CliCommands::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/cucover/cli_commands/version.rb

Instance Method Summary collapse

Constructor Details

#initialize(cli_args) ⇒ Version

Returns a new instance of Version.



5
6
# File 'lib/cucover/cli_commands/version.rb', line 5

def initialize(cli_args)
end

Instance Method Details

#executeObject



8
9
10
# File 'lib/cucover/cli_commands/version.rb', line 8

def execute
  puts File.read(File.dirname(__FILE__) + '/../../../VERSION')
end