Sha256: a7ab8bdae8ef3f8db76e6518204b9eac62024df397c2129b0c77f95905ad4611

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

require 'avm/registry/from_gems'

module Avm
  module Registry
    class ApplicationScms < ::Avm::Registry::FromGems
      def class_detect(klass, detect_args)
        return nil unless klass.type_name == detect_args[0]

        klass.new(*detect_args[1..-1])
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
eac_tools-0.80.0 sub/avm/lib/avm/registry/application_scms.rb
avm-0.81.0 lib/avm/registry/application_scms.rb
eac_tools-0.79.0 sub/avm/lib/avm/registry/application_scms.rb