Class: SEO::Config
- Inherits:
-
Object
- Object
- SEO::Config
- Defined in:
- lib/seo/config.rb
Instance Attribute Summary collapse
-
#proxy ⇒ Object
Returns the value of attribute proxy.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Class Method Summary collapse
-
.instance ⇒ Object
Return the instance.
- .settings ⇒ Object
Instance Method Summary collapse
Instance Attribute Details
#proxy ⇒ Object
Returns the value of attribute proxy.
4 5 6 |
# File 'lib/seo/config.rb', line 4 def proxy @proxy end |
#timeout ⇒ Object
Returns the value of attribute timeout.
4 5 6 |
# File 'lib/seo/config.rb', line 4 def timeout @timeout end |
Class Method Details
.instance ⇒ Object
Return the instance
7 8 9 |
# File 'lib/seo/config.rb', line 7 def self.instance @__instance__ ||= new end |
.settings ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/seo/config.rb', line 11 def self.settings if block_given? yield self.instance else self.instance end end |
Instance Method Details
#notifiers ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/seo/config.rb', line 19 def notifiers if block_given? yield Notifiers.instance else Notifiers.instance end end |