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.2.8 lib/unparser/emitter/literal/singleton.rb
unparser-0.2.7 lib/unparser/emitter/literal/singleton.rb
unparser-0.2.6 lib/unparser/emitter/literal/singleton.rb
unparser-0.2.5 lib/unparser/emitter/literal/singleton.rb
unparser-0.1.5 lib/unparser/emitter/literal/singleton.rb
unparser-0.1.4 lib/unparser/emitter/literal/singleton.rb
unparser-0.1.3 lib/unparser/emitter/literal/singleton.rb
unparser-0.1.2 lib/unparser/emitter/literal/singleton.rb
unparser-0.1.1 lib/unparser/emitter/literal/singleton.rb
unparser-0.1.0 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.18 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.16 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.15 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.14 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.13 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.12 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.11 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.10 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.8 lib/unparser/emitter/literal/singleton.rb
unparser-0.0.7 lib/unparser/emitter/literal/singleton.rb