Class: Browser::Element::TimeRange

Inherits:
Object
  • Object
show all
Defined in:
lib/browser/element/media.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#endObject (readonly)

Returns the value of attribute end.



68
69
70
# File 'lib/browser/element/media.rb', line 68

def end
  @end
end

#startObject (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