Class: Awestruct::Extensions::Tagger::TagStat
- Inherits:
-
Object
- Object
- Awestruct::Extensions::Tagger::TagStat
- Defined in:
- lib/awestruct/extensions/tagger.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
Returns the value of attribute group.
-
#pages ⇒ Object
Returns the value of attribute pages.
-
#primary_page ⇒ Object
Returns the value of attribute primary_page.
Instance Method Summary collapse
-
#initialize(tag, pages) ⇒ TagStat
constructor
A new instance of TagStat.
- #to_s ⇒ Object
Constructor Details
#initialize(tag, pages) ⇒ TagStat
Returns a new instance of TagStat.
10 11 12 13 |
# File 'lib/awestruct/extensions/tagger.rb', line 10 def initialize(tag, pages) @tag = tag @pages = pages end |
Instance Attribute Details
#group ⇒ Object
Returns the value of attribute group.
8 9 10 |
# File 'lib/awestruct/extensions/tagger.rb', line 8 def group @group end |
#pages ⇒ Object
Returns the value of attribute pages.
7 8 9 |
# File 'lib/awestruct/extensions/tagger.rb', line 7 def pages @pages end |
#primary_page ⇒ Object
Returns the value of attribute primary_page.
9 10 11 |
# File 'lib/awestruct/extensions/tagger.rb', line 9 def primary_page @primary_page end |
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/awestruct/extensions/tagger.rb', line 15 def to_s @tag end |