Skip to content

Commit bb6283e

Browse files
author
Jerry Cheung
committed
pretty print HashStack
1 parent ca7ad7d commit bb6283e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/grape/util/hash_stack.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ def concat(hash_stack)
8282
@stack.concat hash_stack.stack
8383
self
8484
end
85+
86+
def to_s
87+
@stack.to_s
88+
end
8589
end
8690
end
8791
end

0 commit comments

Comments
 (0)