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.
65 66 67 68 |
# File 'lib/noodall/tagging.rb', line 65 def initialize(name, count) @name = name @count = count.to_i end |