Class: Awestruct::Extensions::LazyPage

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

Instance Method Summary collapse

Constructor Details

#initialize(page) ⇒ LazyPage

Returns a new instance of LazyPage.



25
26
27
# File 'lib/awestruct/extensions/tag_cloud.rb', line 25

def initialize(page)
  @page = page
end

Instance Method Details

#to_sObject



28
29
30
# File 'lib/awestruct/extensions/tag_cloud.rb', line 28

def to_s
  @page.content
end