Sha256: c08b28acb311a49f64bb4b4d46131538eb46e0e26407ff77f5a3c0afa181aa15
Contents?: true
Size: 301 Bytes
Versions: 4
Compression:
Stored size: 301 Bytes
Contents
require 'singleton' module Datacaster class Absent include Singleton def blank? true end def inspect "#<Datacaster.absent>" end def to_s "" end def present? false end def ==(other) other.is_a?(self.class) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
datacaster-4.1.0 | lib/datacaster/absent.rb |
datacaster-4.0.1 | lib/datacaster/absent.rb |
datacaster-3.3.1 | lib/datacaster/absent.rb |
datacaster-3.3.0 | lib/datacaster/absent.rb |