Created
April 20, 2013 17:12
-
-
Save pragdave/5426700 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
defrecord Person, name: "", age: 0 | |
dave = Person.new name: "Dave", age: 27 | |
case dave do | |
Person[age: age] = record -> #<< ** (RuntimeError) expected module Person to be loaded and defined | |
... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment