Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/rp_extensions.rb

Overview

:startdoc:

Instance Method Summary collapse

Instance Method Details

#prepend(*vals) ⇒ Object



16
17
18
# File 'lib/rp_extensions.rb', line 16

def prepend *vals
  self[0,0] = vals
end