Class: Comment

Inherits:
MingleModel show all
Defined in:
lib/models/comment.rb

Instance Method Summary collapse

Methods inherited from MingleModel

#get_attribute_value, #get_property_value, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class MingleModel

Instance Method Details

#<=>(next_up) ⇒ Object



4
5
6
# File 'lib/models/comment.rb', line 4

def <=> next_up
 self.created_at <=> next_up.created_at
end