Skip to content

Instantly share code, notes, and snippets.

@tessro
Created December 22, 2011 22:01
Show Gist options
  • Save tessro/1512044 to your computer and use it in GitHub Desktop.
Save tessro/1512044 to your computer and use it in GitHub Desktop.
code = %q{Nputs "code = %q{#{code}}"NNcode.chars.each do |c|N if c > 'M' && c < 'O'N putsN elseN print cN endNendNNputs}
puts "code = %q{#{code}}"
code.chars.each do |c|
if c > 'M' && c < 'O'
puts
else
print c
end
end
puts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment