Class: Stack

Inherits:
Array show all
Defined in:
lib/basic/basic.rb

Instance Method Summary collapse

Methods inherited from Array

#assert_all_types, #contains?, #find, #prep_insert, #to_s

Instance Method Details

#popObject


127
128
# File 'lib/basic/basic.rb', line 127

def pop
end

#push(x) ⇒ Object


124
125
# File 'lib/basic/basic.rb', line 124

def push x
end