# File lib/map/options.rb, line 68 def get_opt(opts, options = {}) options = Map.for(options.is_a?(Hash) ? options : {:default => options}) default = options[:default] [ opts ].flatten.each do |opt| return fetch(opt) if has_key?(opt) end default end