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

Document fvalidate #132

Merged
merged 7 commits into from
Feb 25, 2014
Merged

Document fvalidate #132

merged 7 commits into from
Feb 25, 2014

Conversation

itziakos
Copy link
Member

This PR adds some basic documentation for the Property validator methods

All parameters are optional, including the *fget* "getter", *fvalidate*
"validator" and *fset* "setter" methods. If no parameters are specified, then
the trait looks for and uses methods on the same class as the attribute that
the trait is assigned to, with
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor nit: short line.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 3a65e91 on document-fvalidate into 9eb1da4 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 3a65e91 on document-fvalidate into 9eb1da4 on master.

"validator" and *fset* "setter" methods. If no parameters are specified, then
the trait looks for and uses methods on the same class as the attribute that
the trait is assigned to, with names of the form _get_\ *name*\ () _validate_\
() *name*\ and _set_\ *name*\ (), where *name* is the name of the trait
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be _validate_\ *name\ () instead of _validate_\ () *name*\? It would also be good to have a comma between _get_... and _validate_.... Sorry for not noticing this the first time.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 8b1fcfb on document-fvalidate into 9eb1da4 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 8b1fcfb on document-fvalidate into 9eb1da4 on master.

@itziakos
Copy link
Member Author

it this ready to merge? :bowtie:

@mdickinson
Copy link
Member

LGTM.

mdickinson added a commit that referenced this pull request Feb 25, 2014
@mdickinson mdickinson merged commit c4491f8 into master Feb 25, 2014
@mdickinson mdickinson deleted the document-fvalidate branch February 25, 2014 08:56
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

Successfully merging this pull request may close these issues.

4 participants