Class: Tomo::Runtime::SettingsInterpolation
- Inherits:
-
Object
- Object
- Tomo::Runtime::SettingsInterpolation
- Defined in:
- lib/tomo/runtime/settings_interpolation.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(settings) ⇒ SettingsInterpolation
constructor
A new instance of SettingsInterpolation.
Constructor Details
#initialize(settings) ⇒ SettingsInterpolation
Returns a new instance of SettingsInterpolation.
10 11 12 |
# File 'lib/tomo/runtime/settings_interpolation.rb', line 10 def initialize(settings) @settings = symbolize(settings) end |
Class Method Details
.interpolate(settings) ⇒ Object
6 7 8 |
# File 'lib/tomo/runtime/settings_interpolation.rb', line 6 def self.interpolate(settings) new(settings).call end |