Class: Ehbrs::Videos::Unsupported::CheckSet::CheckWithProfiles

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

Instance Method Summary collapse

Constructor Details

#initialize(check) ⇒ CheckWithProfiles

Returns a new instance of CheckWithProfiles.



27
28
29
30
# File 'lib/ehbrs/videos/unsupported/check_set.rb', line 27

def initialize(check)
  super(check)
  @profiles = []
end

Instance Method Details

#add_profile(profile) ⇒ Object



36
37
38
# File 'lib/ehbrs/videos/unsupported/check_set.rb', line 36

def add_profile(profile)
  @profiles << profile
end

#check_nameObject



32
33
34
# File 'lib/ehbrs/videos/unsupported/check_set.rb', line 32

def check_name
  __getobj__.class.name.demodulize
end