Ruby-Pair/main.rb
#append method, returns a new list consisting of other appended to the original list, if the pair is a list. else, returns false.
append method, returns a new list consisting of other appended to the original list, if the pair is a list. else, returns false.
append method returns a new list consisting of other appended to the original list if the pair is a list . else returns false .
def append(other)
    if list?
      temp = Marshal.load(Marshal.dump(self))
      appendHelper(temp, other)
      temp
    else
      false
    end
  end
def append ( other ) if list? temp = Marshal . load ( Marshal . dump ( self ) ) appendHelper ( temp , other ) temp else false end end
append method, returns a new list consisting of other appended to the original list, if the pair is a list.
append method returns a new list consisting of other appended to the original list if the pair is a list .
other
<not_specific>