Sha256: 908033d152fcc2c9da4504894c388a6fab379bef4b8f4c929752dd30d1b77941

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

# frozen_string_literal: true

module Zapata
  module Primitive
    class Missing
      def initialize(name)
        @name = name
      end

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

      def to_raw
        Raw.new(:missing, @name)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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