class Cucumber::Hooks::AfterHook

Attributes

location[R]

Public Class Methods

new(location) click to toggle source
# File lib/cucumber/hooks.rb, line 41
def initialize(location)
  @location = location
end

Public Instance Methods

describe_to(visitor, *args) click to toggle source
# File lib/cucumber/hooks.rb, line 53
def describe_to(visitor, *args)
  visitor.after_hook(self, *args)
end
match_locations?(queried_locations) click to toggle source
# File lib/cucumber/hooks.rb, line 49
def match_locations?(queried_locations)
  queried_locations.any? { |other_location| other_location.match?(location) }
end
name() click to toggle source
# File lib/cucumber/hooks.rb, line 45
def name
  "After hook"
end