class Envirobly::Config
def configs
def configs Dir.entries(@dir).map do |file| path = File.join(@dir, file) next unless File.file?(path) && config_file?(file) [ "#{DIR}/#{file}", File.read(path) ] end.compact.to_h end
def configs Dir.entries(@dir).map do |file| path = File.join(@dir, file) next unless File.file?(path) && config_file?(file) [ "#{DIR}/#{file}", File.read(path) ] end.compact.to_h end