method

prefix_and_expected

rspec latest stable - Class: Spec::Matchers::BePredicate
prefix_and_expected(symbol)
private

No documentation available.

# File lib/spec/matchers/be.rb, line 170
      def prefix_and_expected(symbol)
        symbol.to_s =~ /^(be_(an?_)?)(.*)/
        return $1, $3
      end