lib/ncs_navigator/mdes/specification.rb in ncs_mdes-0.4.1 vs lib/ncs_navigator/mdes/specification.rb in ncs_mdes-0.4.2

- old
+ new

@@ -18,10 +18,17 @@ # @method version # @return [String] the version of the MDES to which this instance refers. def_delegator :@source_documents, :version ## + # @method specification_version + # @return [String] the exact version this specification + # matches. It may be more exact than the requested version due + # to applied patches. + def_delegator :@source_documents, :specification_version + + ## # @param [String,SourceDocuments] version either the string # version of the MDES metadata you would like to read, or a # {SourceDocuments} instance pointing to the appropriate files. # @param [Hash] options # @option options :log a logger to use while reading the specification. If @@ -141,10 +148,10 @@ else empty_disposition_codes end end end - + def empty_disposition_codes [] end private :empty_disposition_codes