method
matches_literal_example?
1.1.4 -
Show latest stable
- Class:
Spec::Example::ExampleMatcher
matches_literal_example?(specified_example)protected
No documentation available.
# File lib/spec/example/example_matcher.rb, line 17
def matches_literal_example?(specified_example)
specified_example =~ /(^#{example_group_regex} #{example_regexp}$|^#{example_group_regex}$|^#{example_group_with_before_all_regexp}$|^#{example_regexp}$)/
end