Class: Screengem::DampenConfiguration::DampenConfigurationFactory
- Inherits:
-
Object
- Object
- Screengem::DampenConfiguration::DampenConfigurationFactory
- Defined in:
- lib/screengem/dampen_configuration.rb
Overview
Knows how to build a dampen configuration.
Instance Method Summary collapse
Instance Method Details
#build_configuration ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/screengem/dampen_configuration.rb', line 22 def build_configuration if dampening_configured? DampenConfiguration::Standard.new(load_configuration) else DampenConfiguration::None.new end end |