class TTY::Option::Parameter::Environment

Public Instance Methods

<=>(other) click to toggle source

Compare this env var to another

@api public

# File lib/tty/option/parameter/environment.rb, line 14
def <=>(other)
  name <=> other.name
end
default_name() click to toggle source
# File lib/tty/option/parameter/environment.rb, line 7
def default_name
  key.to_s.tr("-", "_").upcase
end