Skip to content

Instantly share code, notes, and snippets.

@emilyst
Forked from nblackburn87/array.rb
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emilyst/ee58cdc1abc5a3020498 to your computer and use it in GitHub Desktop.
Save emilyst/ee58cdc1abc5a3020498 to your computer and use it in GitHub Desktop.
class List
def initialize(array_one, array_two)
@array_one = array_one
@array_two = array_two
end
def array_sort
final_array = @array_one - @array_two
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment