Class: EhbrsRubyUtils::Videos2::Unsupported::CheckSet::CheckWithProfiles

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb

Instance Method Summary collapse

Constructor Details

#initialize(check) ⇒ CheckWithProfiles

Returns a new instance of CheckWithProfiles.



25
26
27
28
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb', line 25

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

Instance Method Details

#add_profile(profile) ⇒ Object



34
35
36
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb', line 34

def add_profile(profile)
  @profiles << profile
end

#check_nameObject



30
31
32
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb', line 30

def check_name
  __getobj__.class.name.demodulize
end