Sha256: 6245ec5f6e01c4e2365cc47262d920d002133cc08c7da2c2457f0bf735f0fffa
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
module Casting module Null def self.instance_method(*_) Empty.instance_method(:null) end def self.method_defined?(*_) true end end module Blank def self.instance_method(*_) Empty.instance_method(:blank) end def self.method_defined?(*_) true end end module Empty def null(*, &_block) end def blank(*, &_block) "" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
casting-1.0.2 | lib/casting/null.rb |