method
prefix_and_expected

1.3.0 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::BePredicate
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
prefix_and_expected(symbol)
private
Hide source
# File lib/spec/matchers/be.rb, line 170 def prefix_and_expected(symbol) symbol.to_s =~ /^(be_(an?_)?)(.*)/ return $1, $3 end