Class: CueInfo
- Inherits:
-
Object
- Object
- CueInfo
- Defined in:
- lib/utils/cue_info.rb
Instance Attribute Summary collapse
-
#end ⇒ Object
Returns the value of attribute end.
-
#end_time_units ⇒ Object
Returns the value of attribute end_time_units.
-
#index ⇒ Object
Returns the value of attribute index.
-
#message ⇒ Object
Returns the value of attribute message.
-
#sequence ⇒ Object
Returns the value of attribute sequence.
-
#start ⇒ Object
Returns the value of attribute start.
-
#start_time_units ⇒ Object
Returns the value of attribute start_time_units.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ CueInfo
constructor
A new instance of CueInfo.
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 = "" @start_time_units = [] @end_time_units = [] @index = 1 end |
Instance Attribute Details
#end ⇒ Object
Returns the value of attribute end.
11 12 13 |
# File 'lib/utils/cue_info.rb', line 11 def end @end end |
#end_time_units ⇒ Object
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 |
#index ⇒ Object
Returns the value of attribute index.
11 12 13 |
# File 'lib/utils/cue_info.rb', line 11 def index @index end |
#message ⇒ Object
Returns the value of attribute message.
11 12 13 |
# File 'lib/utils/cue_info.rb', line 11 def end |
#sequence ⇒ Object
Returns the value of attribute sequence.
11 12 13 |
# File 'lib/utils/cue_info.rb', line 11 def sequence @sequence end |
#start ⇒ Object
Returns the value of attribute start.
11 12 13 |
# File 'lib/utils/cue_info.rb', line 11 def start @start end |
#start_time_units ⇒ Object
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 |
#type ⇒ Object (readonly)
Returns the value of attribute type.
11 12 13 |
# File 'lib/utils/cue_info.rb', line 11 def type @type end |