# File lib/core/facets/array/only.rb, line 18 def only unless size == 1 raise IndexError, "Array#only called on non-single-element array" end first end