Sha256: 9549095eec826e0acb11ea5b889f1513c9550488da5a1e5f97ab484c753ba5b4
Contents?: true
Size: 412 Bytes
Versions: 2
Compression:
Stored size: 412 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
casting-1.0.1 | lib/casting/null.rb |
casting-1.0.0 | lib/casting/null.rb |