Sha256: cbdd31fcf73ed5350a8f53c73a995c100a2bbc8ec2baf017abd6d7de4d47a404

Contents?: true

Size: 253 Bytes

Versions: 10

Compression:

Stored size: 253 Bytes

Contents

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

10 entries across 10 versions & 1 rubygems

Version Path
zapata-0.1.6 lib/zapata/primitive/missing.rb
zapata-0.1.5 lib/zapata/primitive/missing.rb
zapata-0.1.4 lib/zapata/primitive/missing.rb
zapata-0.1.3 lib/zapata/primitive/missing.rb
zapata-0.1.2 lib/zapata/primitive/missing.rb
zapata-0.1.1 lib/zapata/primitive/missing.rb
zapata-0.1.0 lib/zapata/primitive/missing.rb
zapata-0.0.3 lib/zapata/primitive/missing.rb
zapata-0.0.2 lib/zapata/primitive/missing.rb
zapata-0.0.1 lib/zapata/primitive/missing.rb