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.9.5 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.9.4 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.9.3 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.9.2 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.9.1 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.9.0 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.9 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.8 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.7 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.6 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.5 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.4 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.3 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.2 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.1 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.8.0 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.10 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.9 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.8 lib/metanorma/requirements/requirements.rb
metanorma-iso-2.7.7 lib/metanorma/requirements/requirements.rb