summaryrefslogtreecommitdiff
path: root/lib/hashie/extensions
diff options
context:
space:
mode:
authorVladimir Kochnev <hashtable@yandex.ru>2015-08-31 14:36:40 +0300
committerVladimir Kochnev <hashtable@yandex.ru>2015-08-31 14:36:40 +0300
commit3d736176035cafce0d7974751cf80b0fd2401c89 (patch)
tree04a2c5b9f9c3ef6f6525dc7c25ef3a198b20c486 /lib/hashie/extensions
parenta775e515f3283d7f579f366c218bf40cd24b7359 (diff)
downloadhashie-3d736176035cafce0d7974751cf80b0fd2401c89.tar.gz
Remove needless code
Diffstat (limited to 'lib/hashie/extensions')
-rw-r--r--lib/hashie/extensions/dash/property_translation.rb2
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"