Skip to content

Instantly share code, notes, and snippets.

@relrod
Created April 9, 2011 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save relrod/911264 to your computer and use it in GitHub Desktop.
Save relrod/911264 to your computer and use it in GitHub Desktop.
[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"
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