Sha256: 1be9eda926db6f2a1d4a068928ffbe068259fae11dd5e65c97f6d65e777071ac

Contents?: true

Size: 278 Bytes

Versions: 1

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.4f',duration)},#{description}"
      else
        "#{duration},#{description}"
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
m3uzi-0.2.1 lib/m3uzi/file.rb