Flowdock
method

prefix_and_expected

Importance_0
1.3.0 - Show latest stable - 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.