Class: Travis::Config::Env::Vars
- Inherits:
-
Struct
- Object
- Struct
- Travis::Config::Env::Vars
- Defined in:
- lib/travis/config/env.rb
Constant Summary collapse
- TRUE =
/^(true|yes|on)$/- FALSE =
/^(false|no|off)$/
Instance Attribute Summary collapse
-
#defaults ⇒ Object
Returns the value of attribute defaults.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
Instance Method Summary collapse
Instance Attribute Details
#defaults ⇒ Object
Returns the value of attribute defaults
12 13 14 |
# File 'lib/travis/config/env.rb', line 12 def defaults @defaults end |
#prefix ⇒ Object
Returns the value of attribute prefix
12 13 14 |
# File 'lib/travis/config/env.rb', line 12 def prefix @prefix end |
Instance Method Details
#to_h ⇒ Object
16 17 18 |
# File 'lib/travis/config/env.rb', line 16 def to_h hash(ENV, prefix.dup, defaults) end |