Class: Coradoc::Markdown::Serializer::Registry::Entry

Inherits:
Struct
  • Object
show all
Includes:
Comparable
Defined in:
lib/coradoc/markdown/serializer/registry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#priorityObject

Returns the value of attribute priority

Returns:

  • (Object)

    the current value of priority



14
15
16
# File 'lib/coradoc/markdown/serializer/registry.rb', line 14

def priority
  @priority
end

#serializerObject

Returns the value of attribute serializer

Returns:

  • (Object)

    the current value of 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