class Osm::Meeting::Activity

Public Instance Methods

<=>(another) click to toggle source

Compare Activity based on title then activity_id

# File lib/osm/meeting.rb, line 365
def <=>(another)
  result = self.title <=> another.try(:title)
  result = self.activity_id <=> another.try(:activity_id) if result == 0
  return result
end