Class: SyntaxTree::BlockVar::Separator

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

Overview

Within the pipes of the block declaration, we don’t want any spaces. So we’ll separate the parameters with a comma and space but no breakables.

Instance Method Summary collapse

Instance Method Details

#call(q) ⇒ Object



2187
2188
2189
# File 'lib/syntax_tree/node.rb', line 2187

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