Skip to content

Commit

Permalink
Add ? to boolean method (#152)
Browse files Browse the repository at this point in the history
* Add ? to boolean method

* Sign-off

Signed-off-by: Ruairi Fennell <rfennell@chef.io>
  • Loading branch information
r-fennell authored Oct 18, 2018
1 parent e758cbb commit 92d1f34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,3 +334,4 @@ To disable optional components run `rake options[]` including only the optional
rake options[] # disable all optional components
rake options[option_1] # enables option_1 disabling all other optional components
```

2 changes: 1 addition & 1 deletion libraries/azurerm_storage_account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
now = Time.now
ninety_days_ago = ((60*60)*(24*90))
upper_bound = to_utc(now)
Expand Down

0 comments on commit 92d1f34

Please sign in to comment.