Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 28c720c

Browse files
committed
symbolize_keys when to_human
1 parent e5d09ac commit 28c720c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/scale/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def to_human
2020
else
2121
v
2222
end
23-
end
23+
end.symbolize_keys
2424
elsif @value.class == ::Array
2525
@value.map do |v|
2626
if v.class.included_modules.include?(Base)

0 commit comments

Comments
 (0)