Sha256: 3c977dd09657e5f1b327542742e67581c2c7db5f14a098d87c4d286eefa8fd45
Contents?: true
Size: 491 Bytes
Versions: 3
Compression:
Stored size: 491 Bytes
Contents
module Spec module Mocks module ArgumentConstraintMatchers # Shortcut for creating an instance of Spec::Mocks::DuckTypeArgConstraint def duck_type(*args) DuckTypeArgConstraint.new(*args) end def any_args AnyArgsConstraint.new end def anything AnyArgConstraint.new(nil) end def boolean BooleanArgConstraint.new(nil) end def no_args NoArgsConstraint.new end end end end
Version data entries
3 entries across 3 versions & 1 rubygems