Class: Travis::CLI::Version

Inherits:
Command
  • Object
show all
Defined in:
lib/travis/cli/version.rb

Constant Summary

Constants inherited from Command

Command::DAY, Command::HOUR, Command::MINUTE, Command::WEEK

Constants included from Tools::Assets

Tools::Assets::BASE

Instance Attribute Summary

Attributes inherited from Command

#arguments, #config, #debug, #force_interactive, #formatter, #input, #output

Instance Method Summary collapse

Methods inherited from Command

abstract, abstract?, #check_completion, #check_ruby, #command_name, command_name, #debug?, description, #execute, #help, #info, #initialize, #last_check, #on_signal, #parse, #say, #setup, skip, subcommands, #terminal, #time, #usage, #usage_for, #write_to

Methods included from Parser

#new, #on, #on_initialize

Methods included from Tools::Assets

#asset, #asset_path

Constructor Details

This class inherits a constructor from Travis::CLI::Command

Instance Method Details

#check_versionObject


13
14
# File 'lib/travis/cli/version.rb', line 13

def check_version
end

#runObject


9
10
11
# File 'lib/travis/cli/version.rb', line 9

def run
  say Travis::VERSION
end