lib/m3uzi/file.rb in m3uzi-0.1.3 vs lib/m3uzi/file.rb in m3uzi-0.1.4
- old
+ new
@@ -1,15 +1,11 @@
class M3Uzi
-
class File
attr_accessor :path, :duration, :description
def attribute_string
- s = []
- s << duration
- s << description if description
- s.join(',')
+ "#{duration},#{description}"
end
- end
+ end
end