class CC::CLI::Version

Constants

SHORT_HELP

Public Instance Methods

run() click to toggle source
# File lib/cc/cli/version.rb, line 6
def run
  say version
end
version() click to toggle source
# File lib/cc/cli/version.rb, line 10
def version
  path = File.expand_path("../../../../VERSION", __FILE__)
  @version ||= File.read(path)
end