Sha256: 57c95cf336fb5e4f6399be16018f78ab54ef48c2465d19b1ff236f546f3e1384

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

# frozen_string_literal: true

module Zapata
  module Primitive
    class Nil < Basic
      def initialize
      end

      def node
        OpenStruct.new(type: :nil)
      end

      def to_raw
        Raw.new(:nil, nil)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zapata-1.0.0 lib/zapata/primitive/nil.rb