Class: Browser::Element::TimeRange
- Defined in:
- lib/browser/element/media.rb
Instance Attribute Summary collapse
-
#end ⇒ Object
readonly
Returns the value of attribute end.
-
#start ⇒ Object
(also: #begin)
readonly
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize(start, _end) ⇒ TimeRange
constructor
A new instance of TimeRange.
Constructor Details
#initialize(start, _end) ⇒ TimeRange
Returns a new instance of TimeRange.
70 71 72 73 |
# File 'lib/browser/element/media.rb', line 70 def initialize start, _end @start = start @end = _end end |
Instance Attribute Details
#end ⇒ Object (readonly)
Returns the value of attribute end.
68 69 70 |
# File 'lib/browser/element/media.rb', line 68 def end @end end |
#start ⇒ Object (readonly) Also known as: begin
Returns the value of attribute start.
68 69 70 |
# File 'lib/browser/element/media.rb', line 68 def start @start end |