Class: SyntaxTree::ArrayLiteral::VarRefsFormatter::Separator

Inherits:
Object
  • Object
show all
Defined in:
lib/syntax_tree/node.rb

Overview

The separator for the fill algorithm.

Instance Method Summary collapse

Instance Method Details

#call(q) ⇒ Object



1108
1109
1110
1111
# File 'lib/syntax_tree/node.rb', line 1108

def call(q)
  q.text(",")
  q.fill_breakable
end