Sha256: bbda7812c67daa110f038447c799e87e745ea5fd6ea0b98dff308a39f62dedcc
Contents?: true
Size: 425 Bytes
Versions: 1
Compression:
Stored size: 425 Bytes
Contents
module Casting module Null def self.instance_method(name) Empty.instance_method(:null) end def self.method_defined?(meth) true end end module Blank def self.instance_method(name) Empty.instance_method(:blank) end def self.method_defined?(meth) true end end module Empty def null(*args, &block); end def blank(*args, &block) "" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
casting-0.7.1 | lib/casting/null.rb |