Remove two more unnecessary default arguments
This commit is contained in:
parent
1dc384b4c4
commit
181654ddaf
@ -133,7 +133,7 @@ class Keg
|
|||||||
dylibs.each(&block)
|
dylibs.each(&block)
|
||||||
end
|
end
|
||||||
|
|
||||||
def dylib_id_for file, options={}
|
def dylib_id_for(file, options)
|
||||||
# The new dylib ID should have the same basename as the old dylib ID, not
|
# The new dylib ID should have the same basename as the old dylib ID, not
|
||||||
# the basename of the file itself.
|
# the basename of the file itself.
|
||||||
basename = File.basename(file.dylib_id)
|
basename = File.basename(file.dylib_id)
|
||||||
|
@ -126,7 +126,7 @@ class Requirement
|
|||||||
end
|
end
|
||||||
|
|
||||||
class Satisfier
|
class Satisfier
|
||||||
def initialize(options={}, &block)
|
def initialize(options, &block)
|
||||||
case options
|
case options
|
||||||
when Hash
|
when Hash
|
||||||
@options = { :build_env => true }
|
@options = { :build_env => true }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user