Method: Cucumber::Parser::Feature::ExamplesSections0#matches_name?

Defined in:
lib/cucumber/parser/feature.rb

#matches_name?(regexp_to_match) ⇒ Boolean

Returns:

  • (Boolean)


1141
1142
1143
# File 'lib/cucumber/parser/feature.rb', line 1141

def matches_name?(regexp_to_match)
  elements.detect { |e| e.matches_name?(regexp_to_match) }
end