Sha256: 55654fc295c97a8220851f988fbd7784fc18956ae8c3c6bef5ef24678bb1f85b

Contents?: true

Size: 373 Bytes

Versions: 7

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module Avm
  module ApplicationStereotypes
    class Base
      common_constructor :namespace_module, :instance_class, :source_class

      # @return [String]
      def name
        namespace_module.name.demodulize
      end

      # @return [String]
      def to_s
        name
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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