aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/binary.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/lib/active_model/type/binary.rb')
-rw-r--r--activemodel/lib/active_model/type/binary.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/type/binary.rb b/activemodel/lib/active_model/type/binary.rb
index a0cc45b4c3..819e4e4a96 100644
--- a/activemodel/lib/active_model/type/binary.rb
+++ b/activemodel/lib/active_model/type/binary.rb
@@ -38,7 +38,7 @@ module ActiveModel
alias_method :to_str, :to_s
def hex
- @value.unpack('H*')[0]
+ @value.unpack("H*")[0]
end
def ==(other)