# File lib/configuration.rb, line 81 def to_hash inject({}){ |h,name| val = __send__(name.to_sym) h.update name.to_sym => Configuration === val ? val.to_hash : val } end