Flowdock
method

prefix_and_expected

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Matchers::BePredicate
prefix_and_expected(symbol) private

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/matchers/be.rb, line 170
      def prefix_and_expected(symbol)
        symbol.to_s =~ /^(be_(an?_)?)(.*)/
        return $1, $3
      end
Register or log in to add new notes.