Method: RubyToAnsiC#process_str
- Defined in:
- lib/ruby_to_ansi_c.rb
#process_str(exp) ⇒ Object
Strings. woot.
647 648 649 650 |
# File 'lib/ruby_to_ansi_c.rb', line 647 def process_str(exp) s = exp.shift.gsub(/\n/, '\\n') return "\"#{s}\"" end |