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:
wchen-r7 2015-10-26 23:12:01 -05:00
parent 5ad30d0070
commit e0801b39ba
1 changed files with 1 additions and 1 deletions

View File

@ -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