Sha256: 40b42892e29e170f6ba18c7e6787fef96e042f1bd48bef305fcce9e8052a1401

Contents?: true

Size: 377 Bytes

Versions: 59

Compression:

Stored size: 377 Bytes

Contents

require "mn-requirements"
require_relative "modspec"

module Metanorma
  class Requirements
    class Iso < ::Metanorma::Requirements
      def create(type)
        case type
        when :modspec, :ogc
          ::Metanorma::Requirements::Modspec::Iso.new(parent: self)
        else ::Metanorma::Requirements::Default.new(parent: self)
        end
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
metanorma-iso-2.7.6 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.5 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.4 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.3 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.2 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.1 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.0 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.6.4 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.6.2 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.6.1 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.6.0 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.5.4 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.5.3 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.5.2 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.5.1 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.5.0 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.4.8 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.4.7 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.4.6 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.4.5 lib/metanorma/requirements/requirements.rb