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 ? to boolean method #152

Merged
2 commits merged into from
Oct 18, 2018
Merged

Add ? to boolean method #152

2 commits merged into from
Oct 18, 2018

Conversation

ghost
Copy link

@ghost ghost commented Oct 18, 2018

Add proper naming to method.

Copy link

@skpaterson skpaterson left a comment

Choose a reason for hiding this comment

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

👍

Signed-off-by: Ruairi Fennell <rfennell@chef.io>
@ghost ghost merged commit 92d1f34 into master Oct 18, 2018
@ghost ghost deleted the fix-method-name branch October 18, 2018 11:39
@@ -30,7 +30,7 @@ def initialize(name: 'default', resource_group: nil)
@exists = true
end

def have_recently_generated_access_key
def has_recently_generated_access_key?
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch!

Copy link
Author

Choose a reason for hiding this comment

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

Was kind of shoe horned after the fact but yes 😅

This pull request was closed.
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.

2 participants