You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Domon I mean it is possible that Hashie::Mash's return class/object is a Hash class. You can look at whatever method you may be using to determine that. Look at Hashie's source code and see.
I am not too familiar with Hashie but I know it either returns a Hashie object which is a Hash eitherway. If you want to keep your coercion strict, you may want to look at custom value coercion with Virtus.
Hi,
I am surprised that that
Hashie::Mash
is coerced intoHash
.Is this expected behavior? If so, how can I avoid it?
Thanks! 😃
Example:
Output:
The text was updated successfully, but these errors were encountered: