Skip to content

Instantly share code, notes, and snippets.

@gcao
Created July 1, 2010 13:17
Show Gist options
  • Save gcao/459949 to your computer and use it in GitHub Desktop.
Save gcao/459949 to your computer and use it in GitHub Desktop.
puts "\342\224\214\342\224\254\342\224\220"
puts "\342\224\234\342\224\274\342\224\244"
puts "\342\224\224\342\224\264\342\224\230"
# === OUTPUT ===
#┌┬┐
#├┼┤
#└┴┘
puts "\342\224\214\342\224\200\342\224\220"
puts "\342\224\202\ \342\224\202"
puts "\342\224\224\342\224\200\342\224\230"
# === OUTPUT ===
#┌─┐
#│ │
#└─┘
100.upto(300) do |i|
eval 'puts "' + i.to_s + ': \342\224\\' + i.to_s + '"'
end
# Will print all special table-making characters
@gcao
Copy link
Author

gcao commented Nov 15, 2010

Test again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment