Class: Yt::Annotations::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/yt/annotations/base.rb

Overview

An abstract class with common attributes for every type of annotation.

Direct Known Subclasses

Card, Note

Instance Attribute Summary collapse

Instance Attribute Details

#ends_atFloat (readonly)


12
13
14
# File 'lib/yt/annotations/base.rb', line 12

def ends_at
  @ends_at
end

15
16
17
# File 'lib/yt/annotations/base.rb', line 15

def link
  @link
end

#starts_atFloat (readonly)


9
10
11
# File 'lib/yt/annotations/base.rb', line 9

def starts_at
  @starts_at
end

#textString (readonly)


6
7
8
# File 'lib/yt/annotations/base.rb', line 6

def text
  @text
end