Created
April 9, 2011 09:17
-
-
Save relrod/911264 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
[ricky@ricky-thinkpad01 sample_project]$ io -i ormtest.io | |
Io 20090105 | |
Io> Project Model Age name | |
==> age | |
Io> Project Model Age query | |
==> field | |
Io> Project Model Age | |
==> Age_0x25eef50: | |
requred = true | |
type = "Age" |
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
Project := Object clone | |
Project Model := Object clone | |
Field := Object clone do ( | |
required := false | |
) | |
Integer := Field clone do ( | |
name := method(self type asMutable makeFirstCharacterLowercase) | |
query := name // Just for debugging. | |
) | |
Project Model Age := Integer clone do ( | |
requred := true | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment