Class: Ehbrs::Videos::Unsupported::Track

Inherits:
SimpleDelegator
  • Object
show all
Includes:
CheckSupport
Defined in:
lib/ehbrs/videos/unsupported/track.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from CheckSupport

#aggressions_banner, #ffmpeg_fix_args, #passed?

Constructor Details

#initialize(video, track) ⇒ Track

Returns a new instance of Track.



15
16
17
18
# File 'lib/ehbrs/videos/unsupported/track.rb', line 15

def initialize(video, track)
  @video = video
  super(track)
end

Instance Attribute Details

#videoObject (readonly)

Returns the value of attribute video.



13
14
15
# File 'lib/ehbrs/videos/unsupported/track.rb', line 13

def video
  @video
end

Instance Method Details



20
21
22
# File 'lib/ehbrs/videos/unsupported/track.rb', line 20

def banner
  aggressions_banner("Track #{self}")
end

#check_set_keyObject



24
25
26
# File 'lib/ehbrs/videos/unsupported/track.rb', line 24

def check_set_key
  :track_check_set
end