# File lib/core/facets/array/only.rb, line 18
  def only
    unless size == 1
      raise IndexError, "not the only element of array"
    end
    first
  end