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

Commit

Permalink
symbolize_keys when to_human
Browse files Browse the repository at this point in the history
  • Loading branch information
wuminzhe committed Aug 11, 2021
1 parent e5d09ac commit 28c720c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scale/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def to_human
else
v
end
end
end.symbolize_keys
elsif @value.class == ::Array
@value.map do |v|
if v.class.included_modules.include?(Base)
Expand Down

0 comments on commit 28c720c

Please sign in to comment.