Sha256: a940324d8d41dcab22b234af42c50f94fef66023d1fd4932a120721c4861fd63

Contents?: true

Size: 244 Bytes

Versions: 14

Compression:

Stored size: 244 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
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
datacaster-3.2.7 lib/datacaster/absent.rb
datacaster-3.2.6 lib/datacaster/absent.rb
datacaster-3.2.5 lib/datacaster/absent.rb
datacaster-3.2.4 lib/datacaster/absent.rb
datacaster-3.2.3 lib/datacaster/absent.rb
datacaster-3.2.2 lib/datacaster/absent.rb
datacaster-3.2.1 lib/datacaster/absent.rb
datacaster-3.2.0 lib/datacaster/absent.rb
datacaster-3.1.5 lib/datacaster/absent.rb
datacaster-3.1.3 lib/datacaster/absent.rb
datacaster-3.1.2 lib/datacaster/absent.rb
datacaster-3.1.1 lib/datacaster/absent.rb
datacaster-3.1.0 lib/datacaster/absent.rb
datacaster-3.0.0 lib/datacaster/absent.rb