class Cucumber::Wire::Protocol::Requests::HookRequestHandler
Public Instance Methods
Source
# File lib/cucumber/wire/protocol/requests.rb, line 105 def execute(test_case) super(request_params(test_case)) end
Calls superclass method
Source
# File lib/cucumber/wire/protocol/requests.rb, line 109 def method_missing(name, *args, &block) # TODO: Hard-code this until Ruby 3.4 is a minimum then this can be removed raise NoMethodError, "Undefined method '#{name}' for #{self.class}" end
Source
# File lib/cucumber/wire/protocol/requests.rb, line 114 def respond_to_missing?(name, include_private = false) # TODO: Remove this once ruby 3.4 is the minimum super end
Calls superclass method
Private Instance Methods
Source
# File lib/cucumber/wire/protocol/requests.rb, line 127 def clean_tag_names(tags) tags.map { |tag| tag.name.gsub(/^@/, '') }.sort end
Source
# File lib/cucumber/wire/protocol/requests.rb, line 121 def request_params(test_case) return nil unless test_case.tags.any? { 'tags' => clean_tag_names(test_case.tags) } end