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



896
897
898
899
# File 'lib/syntax_tree/node.rb', line 896

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