class Unparser::Emitter::Array
Array
literal emitter
Public Instance Methods
emit_heredoc_reminders()
click to toggle source
# File lib/unparser/emitter/array.rb, line 9 def emit_heredoc_reminders emitters.each(&:emit_heredoc_reminders) end
Private Instance Methods
dispatch()
click to toggle source
# File lib/unparser/emitter/array.rb, line 15 def dispatch parentheses('[', ']') do delimited(emitters, &:write_to_buffer) end end
emitters()
click to toggle source
# File lib/unparser/emitter/array.rb, line 21 def emitters children.map(&method(:emitter)) end