Class: ActiveSeo::Config

Inherits:
Hashie::Dash
  • Object
show all
Defined in:
lib/active_seo/config.rb

Instance Method Summary collapse

Instance Method Details

#opengraph_setup {|self.opengraph| ... } ⇒ Object

Yields:

  • (self.opengraph)


13
14
15
16
# File 'lib/active_seo/config.rb', line 13

def opengraph_setup(&block)
  self.opengraph = Hashie::Mash.new
  yield self.opengraph
end

#twitter_setup {|self.twitter| ... } ⇒ Object

Yields:

  • (self.twitter)


18
19
20
21
# File 'lib/active_seo/config.rb', line 18

def twitter_setup(&block)
  self.twitter = Hashie::Mash.new
  yield self.twitter
end