Class: TagSet
- Inherits:
-
Array
- Object
- Array
- TagSet
- Defined in:
- lib/flickrup/tag_set.rb
Instance Method Summary collapse
-
#initialize(tags) ⇒ TagSet
constructor
A new instance of TagSet.
- #to_s ⇒ Object
Constructor Details
#initialize(tags) ⇒ TagSet
Returns a new instance of TagSet.
2 3 4 |
# File 'lib/flickrup/tag_set.rb', line 2 def initialize() super() end |
Instance Method Details
#to_s ⇒ Object
6 7 8 9 10 |
# File 'lib/flickrup/tag_set.rb', line 6 def to_s reduce("") do |result, tag| "#{result} \"#{tag}\"" end end |