Class: Cucumber::Formatter::IgnoreMissingMessages
- Inherits:
- BasicObject
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/ignore_missing_messages.rb
Instance Method Summary collapse
-
#initialize(receiver) ⇒ IgnoreMissingMessages
constructor
A new instance of IgnoreMissingMessages.
- #method_missing(message, *args) ⇒ Object
- #respond_to_missing?(name, include_private = false) ⇒ Boolean
Constructor Details
#initialize(receiver) ⇒ IgnoreMissingMessages
Returns a new instance of IgnoreMissingMessages.
6 7 8 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/ignore_missing_messages.rb', line 6 def initialize(receiver) @receiver = receiver end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(message, *args) ⇒ Object
10 11 12 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/ignore_missing_messages.rb', line 10 def method_missing(, *args) @receiver.respond_to?() ? @receiver.send(, *args) : super end |
Instance Method Details
#respond_to_missing?(name, include_private = false) ⇒ Boolean
14 15 16 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/ignore_missing_messages.rb', line 14 def respond_to_missing?(name, include_private = false) @receiver.respond_to?(name, include_private) || super(name, include_private) end |