Module: Unparser::Generation

Included in:
Emitter, Writer, Writer::Send
Defined in:
lib/unparser/generation.rb

Overview

rubocop:disable Metrics/ModuleLength

Constant Summary collapse

EXTRA_NL =
%i[kwbegin def defs module class sclass].freeze

Instance Method Summary collapse

Instance Method Details

#emit_heredoc_remindersObject



10
# File 'lib/unparser/generation.rb', line 10

def emit_heredoc_reminders; end

#symbol_nameObject



12
# File 'lib/unparser/generation.rb', line 12

def symbol_name; end

#write_to_bufferObject



14
15
16
17
# File 'lib/unparser/generation.rb', line 14

def write_to_buffer
  with_comments { dispatch }
  self
end