class Object

Public Instance Methods

<=>(other) click to toggle source
# File cita.rb, line 10
def <=>(other)
   if autor == other.author
    if datey == other.datey
        titulo<=>other.titulo
    else
        datey <=> other.datey
    end
   else
       author<=>other.author
   end
end