Sha256: cc207a700526bcacc982cb6b291c5e2b3ad3b24331cb8b2c5b7150d258334ef0

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

# encoding: utf-8

module Unparser
  class Emitter
    # Emitter for undef nodes
    class Undef < self

      handle :undef

      children :subject

    private

      # Perform dispatch
      #
      # @return [undefined]
      #
      # @api private
      #
      def dispatch
        write(K_UNDEF, WS)
        visit(subject)
      end

    end # Undef
  end # Emitter
end # Unparser

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
unparser-0.1.7 lib/unparser/emitter/undef.rb
unparser-0.1.6 lib/unparser/emitter/undef.rb