# File lib/mspec/commands/mkspec.rb, line 125 125: def run 126: config[:requires].each { |lib| require lib } 127: constants = config[:constants] 128: constants = Object.constants if constants.empty? 129: 130: @map.map({}, constants).each do |mod, methods| 131: name = mod.chop 132: next unless dir = create_directory(name) 133: 134: methods.each { |method| create_file dir, name, method, mod + method } 135: end 136: end