Sha256: 4384031c15c8e76e5944111c55b5376b34faa9f87d8f1f3b593941bcff60505c
Contents?: true
Size: 572 Bytes
Versions: 3
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module Avm module ApplicationScms class Base class << self # @return [String] def type_name name.gsub(/#{Regexp.quote('::ApplicationScms::Base')}$/, '').demodulize end end # !method initialize(url) # @param url [Addressable::URI] common_constructor :url do self.url = url.to_uri end delegate :type_name, to: :class # @return [String] def to_s "#{type_name}[#{url}]" 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/application_scms/base.rb |
avm-0.81.0 | lib/avm/application_scms/base.rb |
eac_tools-0.79.0 | sub/avm/lib/avm/application_scms/base.rb |