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
12 13 14 |
# File 'lib/avm/application_scms/base.rb', line 12 def type_name name.gsub(/#{Regexp.quote('::ApplicationScms::Base')}$/, '').demodulize end |
Instance Method Details
#assert_main_at(path) ⇒ Pathname
24 25 26 |
# File 'lib/avm/application_scms/base.rb', line 24 def assert_main_at(path) # rubocop:disable Lint/UnusedMethodArgument raise_abstract_method __method__ end |
#to_s ⇒ String
29 30 31 |
# File 'lib/avm/application_scms/base.rb', line 29 def to_s "#{type_name}[#{to_s_type_specific}]" end |
#to_s_type_specific ⇒ String
34 35 36 |
# File 'lib/avm/application_scms/base.rb', line 34 def to_s_type_specific '' end |