class KonaLast::Version

Constants

RELEASE
VERSION

Public Class Methods

show_version(color = false) click to toggle source
# File lib/KonaLast/version.rb, line 8
def self.show_version(color = false)
  if color
    puts "#{VERSION} (\033[31m#{RELEASE}\033[0m)"
  else
    puts "#{VERSION} #{RELEASE}"
  end
end
version() click to toggle source
# File lib/KonaLast/version.rb, line 5
def self.version
  VERSION
end