Class: Seorel::Configuration
- Inherits:
-
Object
- Object
- Seorel::Configuration
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/seorel/configuration.rb
Instance Method Summary collapse
Instance Method Details
#initialize_defaults ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/seorel/configuration.rb', line 28 def initialize_defaults self.default_prepend_title = nil self.default_title = nil self.default_append_title = nil self.default_prepend_description = nil self.default_description = nil self.default_append_description = nil self.default_image = nil self.store_seorel_if = :empty self. = {} self. = {} end |
#param_name ⇒ Object
19 20 21 |
# File 'lib/seorel/configuration.rb', line 19 def param_name config.param_name.respond_to?(:call) ? config.param_name.call : config.param_name end |