Created
          July 1, 2010 13:17 
        
      - 
      
 - 
        
Save gcao/459949 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Test again