Created
          August 6, 2011 15:52 
        
      - 
      
- 
        Save FalkoJoseph/1129454 to your computer and use it in GitHub Desktop. 
    TinyRuby Syntax
  
        
  
    
      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
    
  
  
    
  | color = "red" | |
| shape = "triangle" | |
| mix = color + shape | |
| puts mix | |
| => redtriangle | |
| if color == "red" | |
| puts color | |
| end | |
| if shape != "circle" | |
| puts shape | |
| mix = "Alright!" | |
| end | |
| puts mix | |
| => Alright! | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment