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.
7 8 9 |
# File 'lib/yle_tf/config/erb.rb', line 7 def initialize(vars) vars.each { |key, value| instance_variable_set(:"@#{key}", value) } end |
Instance Method Details
#binding ⇒ Object
11 12 13 |
# File 'lib/yle_tf/config/erb.rb', line 11 def binding super end |