Class: Supertitle::Line
- Inherits:
-
Object
- Object
- Supertitle::Line
- Defined in:
- lib/supertitle/line.rb
Instance Attribute Summary collapse
-
#start ⇒ Object
readonly
Returns the value of attribute start.
-
#stop ⇒ Object
readonly
Returns the value of attribute stop.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(start, stop, text) ⇒ Line
constructor
A new instance of Line.
Constructor Details
#initialize(start, stop, text) ⇒ Line
Returns a new instance of Line.
4 5 6 7 8 |
# File 'lib/supertitle/line.rb', line 4 def initialize(start, stop, text) @start = start @stop = stop @text = text end |
Instance Attribute Details
#start ⇒ Object (readonly)
Returns the value of attribute start.
3 4 5 |
# File 'lib/supertitle/line.rb', line 3 def start @start end |
#stop ⇒ Object (readonly)
Returns the value of attribute stop.
3 4 5 |
# File 'lib/supertitle/line.rb', line 3 def stop @stop end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
3 4 5 |
# File 'lib/supertitle/line.rb', line 3 def text @text end |