method
new
1.1.4 -
Show latest stable
- Class:
Spec::Matchers::Be
new(*args)public
No documentation available.
# File lib/spec/matchers/be.rb, line 5
def initialize(*args)
if args.empty?
@expected = :satisfy_if
else
@expected = parse_expected(args.shift)
end
@args = args
@comparison = ""
end