Sha256: 0e3192a9118c55c7e5bf0df2fa80ae716f1f17874dff597dd0bc1cc89c3b7665
Contents?: true
Size: 859 Bytes
Versions: 38
Compression:
Stored size: 859 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module Avm module ApplicationScms class Base acts_as_abstract class << self # @return [String] def type_name name.gsub(/#{Regexp.quote('::ApplicationScms::Base')}$/, '').demodulize end end # !method initialize(application) # @param application [Avm::Application::Base] common_constructor :application delegate :type_name, to: :class # @param path [Pathname] # @return [Pathname] def assert_main_at(path) # rubocop:disable Lint/UnusedMethodArgument raise_abstract_method __method__ end # @return [String] def to_s "#{type_name}[#{to_s_type_specific}]" end # @return [String] def to_s_type_specific '' end end end end
Version data entries
38 entries across 38 versions & 2 rubygems