method
new
RSpec latest stable (1.3.1)
-
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?
new(*args, &block)
public
Hide source
# File lib/spec/matchers/be.rb, line 122 def initialize(*args, &block) @expected = parse_expected(args.shift) @args = args @block = block end