mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[core] avoid ||= in timeout lookup
This commit is contained in:
parent
5ceabd61f2
commit
a17ec2f42a
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
module Fog
|
||||
@timeout = 600
|
||||
def self.timeout
|
||||
@timeout ||= 600
|
||||
@timeout
|
||||
end
|
||||
|
||||
def self.timeout=(timeout)
|
||||
|
|
Loading…
Reference in a new issue