Module: Netzke::Draper::Configuration
- Defined in:
- lib/netzke/draper/configuration.rb
Class Method Summary collapse
- .configure {|_self| ... } ⇒ Object
- .decorate_by_default ⇒ Object
- .decorate_by_default=(value) ⇒ Object
- .reset_config ⇒ Object
Class Method Details
.configure {|_self| ... } ⇒ Object
11 12 13 |
# File 'lib/netzke/draper/configuration.rb', line 11 def self.configure yield self end |
.decorate_by_default ⇒ Object
15 16 17 |
# File 'lib/netzke/draper/configuration.rb', line 15 def self.decorate_by_default @decorate_by_default end |
.decorate_by_default=(value) ⇒ Object
19 20 21 |
# File 'lib/netzke/draper/configuration.rb', line 19 def self.decorate_by_default=(value) @decorate_by_default = value end |
.reset_config ⇒ Object
5 6 7 8 9 |
# File 'lib/netzke/draper/configuration.rb', line 5 def self.reset_config configure do |config| config.decorate_by_default = true end end |