Sha256: c8e863eaed25035b6424f3e1adc49ff5f7fff4e7e482d861335693a2c7bfb37c
Contents?: true
Size: 509 Bytes
Versions: 35
Compression:
Stored size: 509 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
35 entries across 35 versions & 7 rubygems