Class: Coradoc::Markdown::Serializer::Registry::Entry
- Inherits:
-
Struct
- Object
- Struct
- Coradoc::Markdown::Serializer::Registry::Entry
- Includes:
- Comparable
- Defined in:
- lib/coradoc/markdown/serializer/registry.rb
Instance Attribute Summary collapse
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#serializer ⇒ Object
Returns the value of attribute serializer.
Instance Method Summary collapse
Instance Attribute Details
#priority ⇒ Object
Returns the value of attribute priority
14 15 16 |
# File 'lib/coradoc/markdown/serializer/registry.rb', line 14 def priority @priority end |
#serializer ⇒ Object
Returns the value of attribute serializer
14 15 16 |
# File 'lib/coradoc/markdown/serializer/registry.rb', line 14 def serializer @serializer end |
Instance Method Details
#<=>(other) ⇒ Object
17 18 19 |
# File 'lib/coradoc/markdown/serializer/registry.rb', line 17 def <=>(other) priority <=> other.priority end |