lib/riddle/configuration/section.rb in riddle-1.5.10 vs lib/riddle/configuration/section.rb in riddle-1.5.11

- old
+ new

@@ -10,11 +10,11 @@ end private def settings_body - self.class.settings.select { |setting| + settings.select { |setting| !send(setting).nil? }.collect { |setting| if send(setting) == "" conf = " #{setting} = " else @@ -47,9 +47,13 @@ output.insert(index, "\\\n") index += 8100 end output + end + + def settings + self.class.settings end end end end