Class: ProformaXML::VersionAndNamespaceExtractor

Inherits:
ServiceBase
  • Object
show all
Defined in:
lib/proformaxml/services/version_and_namespace_extractor.rb

Instance Method Summary collapse

Methods inherited from ServiceBase

call

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

#performObject



12
13
14
# File 'lib/proformaxml/services/version_and_namespace_extractor.rb', line 12

def perform
  extract_schema_and_version
end