class RemiAudio::Cue::Timestamp
- RemiAudio::Cue::Timestamp
- Reference
- Object
Overview
Represents a moment or length in time in a CUE sheet.
Defined in:
remiaudio/cue.crConstructors
-
.new(minutes : UInt32, seconds : UInt32, frames : UInt32)
Creates a new
Timestamp
with the given values. -
.new
Creates a new
Timestamp
.
Instance Method Summary
-
#frames : UInt32
The number of CD frames.
- #frames=(value : UInt32) : Nil
-
#minutes : UInt32
The minute value.
- #minutes=(value : UInt32) : Nil
-
#seconds : UInt32
The second value.
- #seconds=(value : UInt32) : Nil
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
def self.new(minutes : UInt32, seconds : UInt32, frames : UInt32)
#
Creates a new Timestamp
with the given values.
Instance Method Detail
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>