class Cucumber::Hooks::AfterHook
Attributes
Public Class Methods
Source
# File lib/cucumber/hooks.rb, line 41 def initialize(location) @location = location end
Public Instance Methods
Source
# File lib/cucumber/hooks.rb, line 57 def describe_to(visitor, *args) visitor.after_hook(self, *args) end
Source
# File lib/cucumber/hooks.rb, line 53 def match_locations?(queried_locations) queried_locations.any? { |other_location| other_location.match?(location) } end