# File lib/thor.rb, line 10 def self.map(map) @map ||= superclass.instance_variable_get("@map") || {} map.each do |key, value| if key.respond_to?(:each) key.each {|subkey| @map[subkey] = value} else @map[key] = value end end end