Sha256: 4cc2e37320afe431d6466c06f21f4da0ff047e06be820dd891a40c731c4a5c8c

Contents?: true

Size: 294 Bytes

Versions: 12

Compression:

Stored size: 294 Bytes

Contents

require 'yt/annotations/base'

module Yt
  module Annotations
    # A Title annotation is like a Note annotation with text, start/end time,
    # but cannot have a link. It's simply overlay text.
    class Title < Note
    private
      def to_link(url)
        nil
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
yt-annotations-2.0.0 lib/yt/annotations/title.rb
yt-annotations-1.4.2 lib/yt/annotations/title.rb
yt-annotations-1.4.1 lib/yt/annotations/title.rb
yt-annotations-1.4.0 lib/yt/annotations/title.rb
yt-annotations-1.3.2 lib/yt/annotations/title.rb
yt-annotations-1.3.1 lib/yt/annotations/title.rb
yt-annotations-1.3.0 lib/yt/annotations/title.rb
yt-annotations-1.2.3 lib/yt/annotations/title.rb
yt-annotations-1.2.2 lib/yt/annotations/title.rb
yt-annotations-1.2.1 lib/yt/annotations/title.rb
yt-annotations-1.2.0 lib/yt/annotations/title.rb
yt-annotations-1.1.0 lib/yt/annotations/title.rb