Class: CueInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/utils/cue_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ CueInfo

Returns a new instance of CueInfo.



2
3
4
5
6
7
8
9
# File 'lib/utils/cue_info.rb', line 2

def initialize(type)
  @type = type
  @start = @end = @sequence = nil
  @message = ""
  @start_time_units = []
  @end_time_units = []
  @index = 1
end

Instance Attribute Details

#endObject

Returns the value of attribute end.



11
12
13
# File 'lib/utils/cue_info.rb', line 11

def end
  @end
end

#end_time_unitsObject

Returns the value of attribute end_time_units.



11
12
13
# File 'lib/utils/cue_info.rb', line 11

def end_time_units
  @end_time_units
end

#indexObject

Returns the value of attribute index.



11
12
13
# File 'lib/utils/cue_info.rb', line 11

def index
  @index
end

#messageObject

Returns the value of attribute message.



11
12
13
# File 'lib/utils/cue_info.rb', line 11

def message
  @message
end

#sequenceObject

Returns the value of attribute sequence.



11
12
13
# File 'lib/utils/cue_info.rb', line 11

def sequence
  @sequence
end

#startObject

Returns the value of attribute start.



11
12
13
# File 'lib/utils/cue_info.rb', line 11

def start
  @start
end

#start_time_unitsObject

Returns the value of attribute start_time_units.



11
12
13
# File 'lib/utils/cue_info.rb', line 11

def start_time_units
  @start_time_units
end

#typeObject (readonly)

Returns the value of attribute type.



11
12
13
# File 'lib/utils/cue_info.rb', line 11

def type
  @type
end