Class: Awestruct::Extensions::Flattr

Inherits:
Object
  • Object
show all
Defined in:
lib/awestruct/extensions/flattr.rb

Defined Under Namespace

Modules: Flattrable

Instance Method Summary collapse

Instance Method Details

#execute(site) ⇒ Object



5
6
7
# File 'lib/awestruct/extensions/flattr.rb', line 5

def execute(site)
  site.pages.each{|p| p.extend Flattrable }
end