mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Prefer #zero? to #== 0
This commit is contained in:
parent
2c334ed6a9
commit
3c2584704d
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ module OmniAuth
|
|||
end
|
||||
|
||||
def on_path?(path)
|
||||
current_path.casecmp(path) == 0
|
||||
current_path.casecmp(path).zero?
|
||||
end
|
||||
|
||||
def options_request?
|
||||
|
|
Loading…
Reference in a new issue