-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All of the logic in the constructor except for one runtime check has been moved to the self.field() method. This in turn calls one of a bunch of def_reader() methods that act like attr_reader but lazily define variables internally. I also made all of the class methods private that are used by the dsl.
- Loading branch information
1 parent
2e8c3a9
commit 2b70368
Showing
1 changed file
with
178 additions
and
117 deletions.
There are no files selected for viewing
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