Class: YleTf::Config::ERB::Context
- Inherits:
-
Object
- Object
- YleTf::Config::ERB::Context
- Defined in:
- lib/yle_tf/config/erb.rb
Instance Method Summary collapse
- #binding ⇒ Object
-
#initialize(vars) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(vars) ⇒ Context
Returns a new instance of Context.
9 10 11 |
# File 'lib/yle_tf/config/erb.rb', line 9 def initialize(vars) vars.each { |key, value| instance_variable_set(:"@#{key}", value) } end |
Instance Method Details
#binding ⇒ Object
13 14 15 |
# File 'lib/yle_tf/config/erb.rb', line 13 def binding super end |