class RemiAudio::Cue::Timestamp

Overview

Represents a moment or length in time in a CUE sheet.

Defined in:

remiaudio/cue.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(minutes : UInt32, seconds : UInt32, frames : UInt32) #

Creates a new Timestamp with the given values.


[View source]
def self.new #

Creates a new Timestamp.


[View source]

Instance Method Detail

def frames : UInt32 #

The number of CD frames.


[View source]
def frames=(value : UInt32) : Nil #

[View source]
def minutes : UInt32 #

The minute value.


[View source]
def minutes=(value : UInt32) : Nil #

[View source]
def seconds : UInt32 #

The second value.


[View source]
def seconds=(value : UInt32) : Nil #

[View source]
def to_s(io : IO) : Nil #
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>

[View source]