Class: Travis::CLI::Version

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

Instance Attribute Summary

Attributes inherited from Command

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

Instance Method Summary collapse

Methods inherited from Command

abstract, abstract?, command_name, #command_name, #debug, #execute, #help, #initialize, #parse, #say, #setup, skip, #terminal, #usage, #write_to

Methods included from Parser

#new, #on, #on_initialize

Constructor Details

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

Instance Method Details

#runObject


7
8
9
# File 'lib/travis/cli/version.rb', line 7

def run
  say Travis::VERSION
end