Module: ERB::Formatter::SyntaxTreeCommandPatch

Defined in:
lib/erb/formatter.rb

Instance Method Summary collapse

Instance Method Details

#format(q) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/erb/formatter.rb', line 16

def format(q)
  q.group do
    q.format(message)
    q.text(" ")
    q.format(arguments) # WAS: q.nest(message.value.length + 1) { q.format(arguments) }
  end
end