Class: ConfConf::Reference

Inherits:
Struct
  • Object
show all
Defined in:
lib/conf_conf.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



46
47
48
# File 'lib/conf_conf.rb', line 46

def key
  @key
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



46
47
48
# File 'lib/conf_conf.rb', line 46

def options
  @options
end

Instance Method Details

#valueObject



47
48
49
# File 'lib/conf_conf.rb', line 47

def value
  environment_value || default_value
end