Class: Testjour::CLI::VersionCommand

Inherits:
BaseCommand show all
Defined in:
lib/testjour/commands/version.rb

Instance Attribute Summary

Attributes inherited from BaseCommand

#non_options, #options

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseCommand

detailed_help, help, inherited, #initialize, #option_parser, options, #testjour_bin_path

Constructor Details

This class inherits a constructor from Testjour::CLI::BaseCommand

Class Method Details

.commandObject



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

def self.command
  "version"
end

Instance Method Details

#runObject



11
12
13
# File 'lib/testjour/commands/version.rb', line 11

def run
  puts "Testjour #{Testjour::VERSION}"
end