Class: AsciiChem::Cml::Extensions::TopLevelHandler
- Inherits:
-
Struct
- Object
- Struct
- AsciiChem::Cml::Extensions::TopLevelHandler
- Defined in:
- lib/asciichem/cml/extensions.rb
Overview
Registry of top-level handlers. Each handler is a Struct with
node_class, element_name, serialize, deserialize.
Adding a new top-level extension is one handler entry.
Instance Attribute Summary collapse
-
#deserialize ⇒ Object
Returns the value of attribute deserialize.
-
#element_name ⇒ Object
Returns the value of attribute element_name.
-
#node_class ⇒ Object
Returns the value of attribute node_class.
-
#serialize ⇒ Object
Returns the value of attribute serialize.
Instance Attribute Details
#deserialize ⇒ Object
Returns the value of attribute deserialize
229 230 231 |
# File 'lib/asciichem/cml/extensions.rb', line 229 def deserialize @deserialize end |
#element_name ⇒ Object
Returns the value of attribute element_name
229 230 231 |
# File 'lib/asciichem/cml/extensions.rb', line 229 def element_name @element_name end |
#node_class ⇒ Object
Returns the value of attribute node_class
229 230 231 |
# File 'lib/asciichem/cml/extensions.rb', line 229 def node_class @node_class end |
#serialize ⇒ Object
Returns the value of attribute serialize
229 230 231 |
# File 'lib/asciichem/cml/extensions.rb', line 229 def serialize @serialize end |