Class: EhbrsRubyUtils::Videos2::Unsupported::CheckSet::CheckWithProfiles
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- EhbrsRubyUtils::Videos2::Unsupported::CheckSet::CheckWithProfiles
- Defined in:
- lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb
Instance Method Summary collapse
- #add_profile(profile) ⇒ Object
- #check_name ⇒ Object
-
#initialize(check) ⇒ CheckWithProfiles
constructor
A new instance of CheckWithProfiles.
Constructor Details
#initialize(check) ⇒ CheckWithProfiles
Returns a new instance of CheckWithProfiles.
27 28 29 30 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb', line 27 def initialize(check) super @profiles = [] end |
Instance Method Details
#add_profile(profile) ⇒ Object
36 37 38 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb', line 36 def add_profile(profile) @profiles << profile end |
#check_name ⇒ Object
32 33 34 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb', line 32 def check_name __getobj__.class.name.demodulize end |