Module: Leftovers::Processors::AppendSym

Defined in:
lib/leftovers/processors/append_sym.rb

Class Method Summary collapse

Class Method Details

.process(str, _current_node, _matched_node, acc) ⇒ Object



6
7
8
9
10
# File 'lib/leftovers/processors/append_sym.rb', line 6

def self.process(str, _current_node, _matched_node, acc)
  return unless str

  acc << str.to_sym
end