Sha256: 2c4bfe821f29974fd198d6aae33a5dd3b183b345ead6d33e8b9d674f814573b7

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

class M3Uzi
  class File

    attr_accessor :path, :duration, :description, :byterange

    def attribute_string
      if duration.kind_of?(Float)
        "#{sprintf('%0.3f',duration)},#{description}"
      else
        "#{duration},#{description}"
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
m3uzi-0.2.0 lib/m3uzi/file.rb
m3uzi-0.1.6 lib/m3uzi/file.rb