Class: Cucover::CliCommands::Version
- Inherits:
-
Object
- Object
- Cucover::CliCommands::Version
- Defined in:
- lib/cucover/cli_commands/version.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(cli_args) ⇒ Version
constructor
A new instance of Version.
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
#execute ⇒ Object
8 9 10 |
# File 'lib/cucover/cli_commands/version.rb', line 8 def execute puts File.read(File.dirname(__FILE__) + '/../../../VERSION') end |