-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add YARD documentation to Product and Variant models #21
Conversation
👍 |
# variant. | ||
# | ||
# @!attribute [rw] prototype_id | ||
# @return [Fixnum] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Document attributes right above their attr_*
, not in the class docstring. I'd expect that to be a class attribute.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also @seantaylor, you're busted. This attribute is doc'ed as being [rw]
but it's actually only a reader!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry Sean, it is writable but @alexblackie moved things around so the writer was way down the file. 👎
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jarednorman tsk tsk.
nice! I'm not a yard expert but this looks great to me. 👍 |
Add YARD documentation to Product and Variant models
…evel-adjustments [Solidus 2.4? PR 2188] Update Solidus to work correctly with non-promotion line-level adjustments
Deploying with Cloudflare Pages
|
Make lanes configurable
/cc @jarednorman