class SyntaxTree::ArrayLiteral::BreakableSpaceSeparator

It’s very common to use seplist with ->(q) { q.breakable_space }. We wrap that pattern into an object to cut down on having to create a bunch of lambdas all over the place.

Public Instance Methods

call(q) click to toggle source
# File lib/syntax_tree/node.rb, line 1058
def call(q)
  q.breakable_space
end