Sha256: 4065ee84625c38897d9688031b5a0482afd3dec897de4d705ea6377f0bc2329b
Contents?: true
Size: 472 Bytes
Versions: 20
Compression:
Stored size: 472 Bytes
Contents
module Shoulda module Matchers module ActiveModel module Qualifiers # @private module AllowNil def initialize(*args) super @expects_to_allow_nil = false end def allow_nil @expects_to_allow_nil = true self end protected def expects_to_allow_nil? @expects_to_allow_nil end end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems