Module: DynamicVariable::Mixin
- Defined in:
- lib/dynamic_variable.rb
Defined Under Namespace
Classes: MixedDynamicVariable
Instance Method Summary
collapse
Instance Method Details
#dynamic_variable ⇒ Object
204
205
206
207
|
# File 'lib/dynamic_variable.rb', line 204
def dynamic_variable
@dynamic_variable_mixin__dynamic_variable ||=
MixedDynamicVariable.new(self)
end
|
#with(*pairs, &block) ⇒ Object
209
210
211
|
# File 'lib/dynamic_variable.rb', line 209
def with(*pairs, &block)
dynamic_variable.with(*pairs, &block)
end
|