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

Add YARD documentation to Product and Variant models #21

Merged
merged 2 commits into from
May 7, 2015
Merged

Add YARD documentation to Product and Variant models #21

merged 2 commits into from
May 7, 2015

Conversation

alexblackie
Copy link
Contributor

@seantaylor
Copy link

👍

# variant.
#
# @!attribute [rw] prototype_id
# @return [Fixnum]
Copy link
Member

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.

Copy link
Member

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!

Copy link
Member

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. 👎

Choose a reason for hiding this comment

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

@jarednorman tsk tsk.

@jordan-brough
Copy link
Contributor

nice! I'm not a yard expert but this looks great to me. 👍

gmacdougall added a commit that referenced this pull request May 7, 2015
Add YARD documentation to Product and Variant models
@gmacdougall gmacdougall merged commit 00a0527 into solidusio:master May 7, 2015
jordan-brough added a commit to jordan-brough/solidus that referenced this pull request Sep 5, 2017
…evel-adjustments

[Solidus 2.4? PR 2188] Update Solidus to work correctly with non-promotion line-level adjustments
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 19, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8e5adb4
Status: ✅  Deploy successful!
Preview URL: https://18c6e40c.solidus-guides.pages.dev

View logs

mamhoff added a commit to mamhoff/solidus that referenced this pull request Jun 26, 2024
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.

5 participants