Sha256: 6e43b8b2c89974d9f5bd14a024489ab408dc8fdb5c8ec3a21123b08da00a2ec1

Contents?: true

Size: 280 Bytes

Versions: 33

Compression:

Stored size: 280 Bytes

Contents

class Code
  class Object
    class Nothing < ::Code::Object
      attr_reader :raw

      def initialize
        @raw = nil
      end

      def truthy?
        false
      end

      def to_s
        ""
      end

      def inspect
        "nothing"
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 3 rubygems

Version Path
template-ruby-0.5.6 lib/code/object/nothing.rb
language-ruby-0.5.6 lib/code/object/nothing.rb
code-ruby-0.5.6 lib/code/object/nothing.rb
template-ruby-0.5.5 lib/code/object/nothing.rb
language-ruby-0.5.5 lib/code/object/nothing.rb
code-ruby-0.5.5 lib/code/object/nothing.rb
template-ruby-0.5.4 lib/code/object/nothing.rb
language-ruby-0.5.4 lib/code/object/nothing.rb
code-ruby-0.5.4 lib/code/object/nothing.rb
template-ruby-0.5.3 lib/code/object/nothing.rb
language-ruby-0.5.3 lib/code/object/nothing.rb
code-ruby-0.5.3 lib/code/object/nothing.rb
template-ruby-0.5.2 lib/code/object/nothing.rb
language-ruby-0.5.2 lib/code/object/nothing.rb
code-ruby-0.5.2 lib/code/object/nothing.rb
language-ruby-0.5.1 lib/code/object/nothing.rb
template-ruby-0.5.1 lib/code/object/nothing.rb
code-ruby-0.5.1 lib/code/object/nothing.rb
template-ruby-0.5.0 lib/code/object/nothing.rb
language-ruby-0.5.0 lib/code/object/nothing.rb