Sorry for my probably noobish question; I recently started developing with Rails. I checked through the API, documentation, and did a bunch of searches but could not find what I was look for.
Is there a method to check to see if a specific array exists?
For example,
array = [] array = [2,3,4] if array.exists? puts "array exists!" else puts "No such thing!" end Thanks