Sha256: dae19220ceb2ce7c3eaf1c44233c0aab393a22ba991e8fc47235577056887c93

Contents?: true

Size: 453 Bytes

Versions: 7

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/runner_with/subcommands'
require 'eac_ruby_utils/core_ext'

module Avm
  module WithApplicationStereotype
    common_concern do
      include ClassMethods
    end

    module ClassMethods
      # @return [Module]
      def stereotype_namespace_module
        module_parent.module_parent
      end
    end

    def stereotype_namespace_module
      self.class.stereotype_namespace_module
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
eac_tools-0.11.1 sub/avm/lib/avm/with_application_stereotype.rb
avm-0.29.0 lib/avm/with_application_stereotype.rb
eac_tools-0.11.0 sub/avm/lib/avm/with_application_stereotype.rb
avm-0.28.0 lib/avm/with_application_stereotype.rb
eac_tools-0.10.0 sub/avm/lib/avm/with_application_stereotype.rb
avm-0.27.0 lib/avm/with_application_stereotype.rb
eac_tools-0.9.0 sub/avm/lib/avm/with_application_stereotype.rb