Module: Wayfarer::Config::Struct::InstanceMethods
- Extended by:
- Forwardable
- Defined in:
- lib/wayfarer/config/struct.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
15 16 17 |
# File 'lib/wayfarer/config/struct.rb', line 15 def env @env end |
Instance Method Details
#initialize(env = ENV) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/wayfarer/config/struct.rb', line 17 def initialize(env = ENV) @env = env define_writers define_readers end |