class Insertion
def initialize(list, value)
-
value(Object) -- the value to insert -
list(Array) -- the list to perform the insertion on
def initialize(list, value) @list = list @values = (Array === value ? value : [value]) end
value
(Object)
-- the value to insert
list
(Array)
-- the list to perform the insertion on
def initialize(list, value) @list = list @values = (Array === value ? value : [value]) end