Module: LaserLemon::DrySerial::XmlSerializer::Attribute
- Defined in:
- lib/serialization.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
51 52 53 |
# File 'lib/serialization.rb', line 51 def self.included(base) base.send(:include, Comparable) end |
Instance Method Details
#<=>(other) ⇒ Object
55 56 57 |
# File 'lib/serialization.rb', line 55 def <=>(other) name.to_s <=> other.name.to_s end |