diff options
author | Vladimir Kochnev <hashtable@yandex.ru> | 2015-08-31 14:36:40 +0300 |
---|---|---|
committer | Vladimir Kochnev <hashtable@yandex.ru> | 2015-08-31 14:36:40 +0300 |
commit | 3d736176035cafce0d7974751cf80b0fd2401c89 (patch) | |
tree | 04a2c5b9f9c3ef6f6525dc7c25ef3a198b20c486 /lib/hashie | |
parent | a775e515f3283d7f579f366c218bf40cd24b7359 (diff) | |
download | hashie-3d736176035cafce0d7974751cf80b0fd2401c89.tar.gz |
Remove needless code
Diffstat (limited to 'lib/hashie')
-rw-r--r-- | lib/hashie/extensions/dash/property_translation.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/hashie/extensions/dash/property_translation.rb b/lib/hashie/extensions/dash/property_translation.rb index e3d7b04..be858b7 100644 --- a/lib/hashie/extensions/dash/property_translation.rb +++ b/lib/hashie/extensions/dash/property_translation.rb @@ -72,8 +72,6 @@ module Hashie def property(property_name, options = {}) super - options[:from] = options[:from] if options[:from] - if options[:from] if property_name == options[:from] fail ArgumentError, "Property name (#{property_name}) and :from option must not be the same" |