Sha256: 1dd80edc72c3522729b5ce141fef6fc21c4ebd01952a9b64516b7f5a1307024a

Contents?: true

Size: 372 Bytes

Versions: 6

Compression:

Stored size: 372 Bytes

Contents

# encoding: utf-8

module Unparser
  class Emitter
    # Emitter for splats
    class Splat < self

      handle :splat

      children :subject

    private

      # Perform dispatch
      #
      # @return [undefined]
      #
      # @api private
      #
      def dispatch
        write(T_SPLAT)
        visit(subject) if subject
      end
    end
  end
end # Unparser

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
unparser-0.1.11 lib/unparser/emitter/splat.rb
unparser-0.1.10 lib/unparser/emitter/splat.rb
unparser-0.1.9 lib/unparser/emitter/splat.rb
unparser-0.1.8 lib/unparser/emitter/splat.rb
unparser-0.1.7 lib/unparser/emitter/splat.rb
unparser-0.1.6 lib/unparser/emitter/splat.rb