Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Add InSpec support for source repositories #112

Merged
merged 2 commits into from
Feb 20, 2019
Merged

Conversation

modular-magician
Copy link
Owner


private

def _base
Copy link
Collaborator

Choose a reason for hiding this comment

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

From what I've seen, Ruby doesn't seem to do the _method notation to say something is private. They either put the method under the private section or (less so) write private def method. Python definitely does the _method thing for private methods and I feel like that's where it's most famously done.

Some people do place an underscore and honestly, I don't really care either way. Your call.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah, I was searching around for some kind of Ruby prefix for indicating that it is private. Seems like some people use _ but it's not standard. I needed to prefix these methods so they won't conflict with resource properties, or else rename them to something more specific.

Signed-off-by: Modular Magician <magic-modules@google.com>
@slevenick slevenick merged commit d627f42 into master Feb 20, 2019
slevenick pushed a commit that referenced this pull request Feb 25, 2019
Update google_organization(s) controls only_if condition to include o…
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants