Sha256: 6dead35de6dbf277eb10746cfed7ab75fea5d4f17a33f0b001e16c6c98dd1365

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

class Code
  class Object
    class Nothing < Object
      def initialize(*_args, **_kargs, &_block)
        @raw = nil
      end

      def truthy?
        false
      end

      def nothing?
        true
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
code-ruby-1.0.0 lib/code/object/nothing.rb
code-ruby-0.15.16 lib/code/object/nothing.rb
code-ruby-0.15.15 lib/code/object/nothing.rb
code-ruby-0.15.14 lib/code/object/nothing.rb