lib/kryten/config.rb in kryten-0.3.6 vs lib/kryten/config.rb in kryten-0.3.7

- old
+ new

@@ -11,10 +11,10 @@ def configure classname = self.name.split('::') classname = if classname.one? classname.first.downcase else - classname[0...-1].collect(&:downcase).join('-') + classname.collect(&:downcase).join('-') end file = File.open(File.join(self.base_path, "config/#{classname}.yml")) YAML.load(file)[classname] end