Created
January 28, 2013 02:53
-
-
Save yangsu/4652670 to your computer and use it in GitHub Desktop.
Ruby Code Example
This file contains 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
properties = ['object oriented', 'duck typed', 'productive', 'fun'] | |
# => ["object oriented", "duck typed", "productive", "fun"] | |
properties.each {|property| puts "Ruby is #{property}."} | |
Ruby is object oriented. | |
Ruby is duck typed. | |
Ruby is productive. | |
Ruby is fun. | |
# => ["object oriented", "duck typed", "productive", "fun"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment