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