lib/metaractor/errors.rb in metaractor-3.0.0 vs lib/metaractor/errors.rb in metaractor-3.0.1
- old
+ new
@@ -166,9 +166,10 @@
unwrapped_tree.to_h
else
@tree.to_h
end
end
+ alias to_hash to_h
def inspect
str = "<##{self.class.name}: "
if !self.empty?