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.
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_name ⇒ Object
30 31 32 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb', line 30 def check_name __getobj__.class.name.demodulize end |