Created
June 12, 2013 13:35
-
-
Save poysama/5765293 to your computer and use it in GitHub Desktop.
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
family "smith" do | |
mother "rose" do | |
age "60" | |
end | |
father "bob" do | |
age "65" | |
occupation "software developer" | |
end | |
son "john" do | |
age "38" | |
# notice here that son is being called again under son | |
# this literally means that john is a son of bob of the smith family and he has a son named elliot | |
son "elliot" do | |
age "10" | |
end | |
wife "elisa" do | |
# notice here family does not have a block | |
family "bluth" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment