Class: Avm::ApplicationScms::Base
- Inherits:
-
Object
- Object
- Avm::ApplicationScms::Base
- Defined in:
- lib/avm/application_scms/base.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.type_name ⇒ String
10 11 12 |
# File 'lib/avm/application_scms/base.rb', line 10 def type_name name.gsub(/#{Regexp.quote('::ApplicationScms::Base')}$/, '').demodulize end |
Instance Method Details
#assert_main_at(path) ⇒ Pathname
22 23 24 |
# File 'lib/avm/application_scms/base.rb', line 22 def assert_main_at(path) # rubocop:disable Lint/UnusedMethodArgument raise_abstract_method __method__ end |
#to_s ⇒ String
27 28 29 |
# File 'lib/avm/application_scms/base.rb', line 27 def to_s "#{type_name}[#{to_s_type_specific}]" end |
#to_s_type_specific ⇒ String
32 33 34 |
# File 'lib/avm/application_scms/base.rb', line 32 def to_s_type_specific '' end |