lib/m3uzi.rb in m3uzi-0.1.1 vs lib/m3uzi.rb in m3uzi-0.1.2
- old
+ new
@@ -98,10 +98,10 @@
yield(new_tag)
@tags << new_tag
end
def [](key)
- tag_name = key.to_s.upcase.sub("_", "-")
+ tag_name = key.to_s.upcase.gsub("_", "-")
obj = tags.detect{|tag| tag.name == tag_name }
obj && obj.value
end
def []=(key, value)