René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
shift [Ruby] | ||
a = Array.new a.push('one') a.push('two') a.push('three') a.push('four') puts "shift: " + a.shift a.each { | n | puts n } |