Posts Tagged “stack”

Using a Stack with Ruby

by john on June 2, 2008

Although an array within Ruby supports all the operations you need for working with a stack (push, pop, etc), the problem is, Ruby does not offer a “formal” stack object and therefore the flexibility of the Ruby array can present (…)

Read the rest of this entry »