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