Class: ContentDriven::TagCloud

Inherits:
Page
  • Object
show all
Defined in:
lib/content_driven/tag_cloud.rb

Instance Attribute Summary collapse

Attributes inherited from Page

#children, #date, #parent, #title, #url

Instance Method Summary collapse

Methods inherited from Page

#add_child, inherited, #root?, #to_sym

Methods included from DSL

#define_dsl_for

Methods included from Routes

#content_for

Constructor Details

#initializeTagCloud

Returns a new instance of TagCloud.



4
5
6
7
# File 'lib/content_driven/tag_cloud.rb', line 4

def initialize
  tags = {}
  super
end

Instance Attribute Details

#tagsObject

Returns the value of attribute tags.



3
4
5
# File 'lib/content_driven/tag_cloud.rb', line 3

def tags
  @tags
end