Class: ProformaXML::VersionAndNamespaceExtractor
- Inherits:
-
ServiceBase
- Object
- ServiceBase
- ProformaXML::VersionAndNamespaceExtractor
- Defined in:
- lib/proformaxml/services/version_and_namespace_extractor.rb
Instance Method Summary collapse
-
#initialize(doc:) ⇒ VersionAndNamespaceExtractor
constructor
A new instance of VersionAndNamespaceExtractor.
- #perform ⇒ Object
Methods inherited from ServiceBase
Constructor Details
#initialize(doc:) ⇒ VersionAndNamespaceExtractor
Returns a new instance of VersionAndNamespaceExtractor.
7 8 9 10 |
# File 'lib/proformaxml/services/version_and_namespace_extractor.rb', line 7 def initialize(doc:) super() @doc = doc end |
Instance Method Details
#perform ⇒ Object
12 13 14 |
# File 'lib/proformaxml/services/version_and_namespace_extractor.rb', line 12 def perform extract_schema_and_version end |