Sha256: afb69e44c1f69a91fdd255ead7de690e3bad241b0a239f1d4d8aa3e73a54818f

Contents?: true

Size: 408 Bytes

Versions: 17

Compression:

Stored size: 408 Bytes

Contents

module Unparser
  class Emitter
    # Emitter for module nodes
    class Module < self

      handle :module

      children :name, :body

    private

      # Perform dispatch
      #
      # @return [undefined]
      #
      # @api private
      #
      def dispatch
        write(K_MODULE, WS)
        visit(name)
        emit_body
        k_end
      end

    end # Module
  end # Emitter
end # Unparser

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
unparser-0.1.1 lib/unparser/emitter/module.rb
unparser-0.1.0 lib/unparser/emitter/module.rb
unparser-0.0.18 lib/unparser/emitter/module.rb
unparser-0.0.16 lib/unparser/emitter/module.rb
unparser-0.0.15 lib/unparser/emitter/module.rb
unparser-0.0.14 lib/unparser/emitter/module.rb
unparser-0.0.13 lib/unparser/emitter/module.rb
unparser-0.0.12 lib/unparser/emitter/module.rb
unparser-0.0.11 lib/unparser/emitter/module.rb
unparser-0.0.10 lib/unparser/emitter/module.rb
unparser-0.0.8 lib/unparser/emitter/module.rb
unparser-0.0.7 lib/unparser/emitter/module.rb
unparser-0.0.6 lib/unparser/emitter/module.rb
unparser-0.0.5 lib/unparser/emitter/module.rb
unparser-0.0.4 lib/unparser/emitter/module.rb
unparser-0.0.3 lib/unparser/emitter/module.rb
unparser-0.0.2 lib/unparser/emitter/module.rb