class NuWav::RiffChunk

Attributes

id[RW]
riff_type[RW]
size[RW]

Public Class Methods

new(riff_name, riff_length, riff_type) click to toggle source
# File lib/nu_wav/chunk.rb, line 60
def initialize(riff_name, riff_length, riff_type)
  @id, @size, @riff_type = riff_name, riff_length, riff_type
end

Public Instance Methods

to_s() click to toggle source
# File lib/nu_wav/chunk.rb, line 64
def to_s
  "<chunk type:riff id:#{@id} size:#{@size} type:#{@riff_type} />"
end