Created
September 19, 2014 15:53
-
-
Save bcardarella/e0f0fa52ee8ec3539ded 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
table :owners do | |
row :brian do | |
name 'Brian' | |
age 35 | |
end | |
end | |
table :dogs do | |
row :boomer do | |
name 'Boomer' | |
age 1.5 | |
end | |
row :wiley do | |
name 'Wiley' | |
age 12 | |
end | |
end |
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
table :owners do |t| | |
t.row :brian do |r| | |
r.name = 'Brian' | |
r.age = 35 | |
end | |
end | |
table :dogs do |t| | |
t.row :boomer do |r| | |
r.name = 'Boomer' | |
r.age = 1.5 | |
end | |
t.row :wiley do |r| | |
r.name = 'Wiley' | |
r.age = 12 | |
end | |
end |
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
owners do | |
brian do | |
name 'Brian' | |
age 35 | |
end | |
end | |
dogs do | |
boomer do | |
name 'Boomer' | |
age 1.5 | |
end | |
wiley do | |
name 'Wiley' | |
age 12 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment