-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 Faker::Beer YARD docs #1790
Conversation
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.
Versions need to be updated, and some other minor feedback :)
lib/faker/default/beer.rb
Outdated
# @example | ||
# Faker::Beer.name #=> "Pliny The Elder" | ||
# | ||
# @faker.version next |
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.
lib/faker/default/beer.rb
Outdated
def style | ||
fetch('beer.style') | ||
end | ||
|
||
## | ||
# Produces a random beer hops . |
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.
# Produces a random beer hops . | |
# Produces a random beer hops. |
lib/faker/default/beer.rb
Outdated
def yeast | ||
fetch('beer.yeast') | ||
end | ||
|
||
## | ||
# Produces a random beer malts. |
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.
I think this should be singular?
# Produces a random beer malts. | |
# Produces a random beer malt. |
lib/faker/default/beer.rb
Outdated
def malts | ||
fetch('beer.malt') | ||
end | ||
|
||
## | ||
# Produces a random beer ibu. |
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.
# Produces a random beer ibu. | |
# Produces a random beer IBU. |
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.
👍
* add Faker::Beer YARD docs * add version number * Update beer.rb
* add Faker::Beer YARD docs * add version number * Update beer.rb
Add YARD docs for Faker::Beer