Sha256: 7a35c69a6dffc9ec3f219014f9eb757909b1f2ce5716f0de35417655435cc9ed

Contents?: true

Size: 271 Bytes

Versions: 4

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

class Code
  class Node
    class Nothing < Node
      def initialize(parsed)
        return if parsed.blank?
        @nothing = parsed.presence
      end

      def evaluate(**_args)
        Object::Nothing.new
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
code-ruby-0.13.1 lib/code/node/nothing.rb
code-ruby-0.13.0 lib/code/node/nothing.rb
code-ruby-0.12.0 lib/code/node/nothing.rb
code-ruby-0.11.0 lib/code/node/nothing.rb