Class: Noodall::Tagging::Tag
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, count) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(name, count) ⇒ Tag
Returns a new instance of Tag.
61 62 63 64 |
# File 'lib/noodall/tagging.rb', line 61 def initialize(name, count) @name = name @count = count.to_i end |