lib/config_mapper.rb in config_mapper-1.1.1 vs lib/config_mapper.rb in config_mapper-1.2.0
- old
+ new
@@ -23,10 +23,10 @@
#
def configure_with(data, target)
mapper_for(target).configure_with(data)
end
- alias_method :set, :configure_with
+ alias set configure_with
def mapper_for(target)
if target.is_a?(Hash) || target.is_a?(ConfigMapper::ConfigDict)
DictMapper.new(target)
else