Fix undef method has_key for module_references.rb tool
I made a typo. Should be has_key?, not has_key
This commit is contained in:
parent
5ad30d0070
commit
e0801b39ba
|
@ -89,7 +89,7 @@ opts.parse(ARGV) { |opt, idx, val|
|
|||
filter = val
|
||||
when "-t"
|
||||
val = (val || '').upcase
|
||||
unless types.has_key(val)
|
||||
unless types.has_key?(val)
|
||||
puts "Invalid Type Supplied: #{val}"
|
||||
puts "Please use one of these: #{types.keys.inspect}"
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue