Silence more warnings
This commit is contained in:
parent
bac0536730
commit
5e0a8668fb
@ -28,6 +28,7 @@ module Superenv
|
|||||||
# done on the singleton class, because in MRI all ENV methods are defined
|
# done on the singleton class, because in MRI all ENV methods are defined
|
||||||
# on its singleton class, precluding the use of extend.
|
# on its singleton class, precluding the use of extend.
|
||||||
class << base
|
class << base
|
||||||
|
alias_method :"old_[]", :[]
|
||||||
def [] key
|
def [] key
|
||||||
if has_key? key
|
if has_key? key
|
||||||
fetch(key)
|
fetch(key)
|
||||||
|
@ -97,6 +97,7 @@ class Bottle < SoftwareSpec
|
|||||||
@revision = 0
|
@revision = 0
|
||||||
@prefix = '/usr/local'
|
@prefix = '/usr/local'
|
||||||
@cellar = '/usr/local/Cellar'
|
@cellar = '/usr/local/Cellar'
|
||||||
|
@root_url = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
# Checksum methods in the DSL's bottle block optionally take
|
# Checksum methods in the DSL's bottle block optionally take
|
||||||
|
Loading…
x
Reference in New Issue
Block a user