Sha256: df70085f91ba5999aad8ac8d8389429e6db77ad8cfb05e0ecb325de6cb670d19

Contents?: true

Size: 431 Bytes

Versions: 26

Compression:

Stored size: 431 Bytes

Contents

module Unparser
  class Emitter
    class Literal
      # Emiter for literal singletons
      class Singleton < self

        handle :self, :true, :false, :nil

      private

        # Perform dispatco
        #
        # @return [undefined]
        #
        # @api private
        #
        def dispatch
          buffer.append(node.type.to_s)
        end

      end # Singleton
    end # Literal
  end # Emitter
end # Unparser

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
unparser-0.0.6 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.5 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.4 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.3 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.2 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.1 lib/unparser/emitter/literal/singleton.rb