Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separate implementation-specific access into methods #18

Open
gidden opened this issue Jun 6, 2013 · 0 comments
Open

separate implementation-specific access into methods #18

gidden opened this issue Jun 6, 2013 · 0 comments

Comments

@gidden
Copy link
Member

gidden commented Jun 6, 2013

this is another refactor that will help in the situation that the spec changes in the future. for example, accessing the units member of an attributes is generally done by accessing the second member of a list (e.g., power: ["float", "GWe"]). a generic unit access method could simply return the second member and we can add specific unit accessers as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant