class SyntaxTree::When::Separator

We have a special separator here for when clauses which causes them to fill as much of the line as possible as opposed to everything breaking into its own line as soon as you hit the print limit.

Public Instance Methods

call(q) click to toggle source
# File lib/syntax_tree/node.rb, line 11877
def call(q)
  q.group do
    q.text(",")
    q.breakable_space
  end
end