lib/rconf/overrides_language.rb in rconf-0.10.0 vs lib/rconf/overrides_language.rb in rconf-0.10.1

- old
+ new

@@ -125,10 +125,10 @@ # configurator(Class):: Configurator class # # === Return # res(Array):: Pair of class name and class ruby code def self.override_class_code(key, configurator) - klass = key.capitalize + klass = "#{key.capitalize}Rconf" code = "class #{klass}\n" configurator.all_settings.each do |s| code += <<-EOS def #{s[:name]}=(val) OverridesLanguage.add_override('#{key}', '#{s[:name]}', val)