lib/ruby_collections/stack.rb in ruby_collections-0.0.6 vs lib/ruby_collections/stack.rb in ruby_collections-0.0.7
- old
+ new
@@ -1,7 +1,10 @@
module RubyCollections
class Stack
+ #TODO: implement iterator
+ #TODO: implement to_a
+
def initialize(arr = [])
@arr = arr
end
def size
\ No newline at end of file