lib/hamster/stack.rb in hamster-0.2.9 vs lib/hamster/stack.rb in hamster-0.2.11
- old
+ new
@@ -62,9 +62,13 @@
def to_a
@list.to_a
end
def_delegator :self, :to_a, :entries
+ def to_ary
+ @list.to_ary
+ end
+
def to_list
@list
end
def inspect