Sha256: 8e89353d77425418459620db85f9bbe4a2bf320ecf981c9599a01aff1077b102

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

module Ray
  class Music
    def initialize(filename = nil)
      open(filename) if filename
    end

    def pretty_print(q)
      super q, ["time", "duration", "looping?"]
    end

    alias time= seek

    alias position  pos
    alias position= pos=
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ray-0.2.1 lib/ray/music.rb
ray-0.2.0 lib/ray/music.rb