summaryrefslogtreecommitdiff
path: root/lib/hashie/extensions/dash/property_translation.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hashie/extensions/dash/property_translation.rb')
-rw-r--r--lib/hashie/extensions/dash/property_translation.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hashie/extensions/dash/property_translation.rb b/lib/hashie/extensions/dash/property_translation.rb
index f5bf081..c0fd009 100644
--- a/lib/hashie/extensions/dash/property_translation.rb
+++ b/lib/hashie/extensions/dash/property_translation.rb
@@ -137,7 +137,8 @@ module Hashie
end
def fail_self_transformation_error!(property_name)
- raise ArgumentError, "Property name (#{property_name}) and :from option must not be the same"
+ raise ArgumentError,
+ "Property name (#{property_name}) and :from option must not be the same"
end
def valid_transformer?(transformer)