Module: Avm::EacRubyBase0::SourceGenerators::Base::Application
- Defined in:
- lib/avm/eac_ruby_base0/source_generators/base/application.rb
Instance Method Summary collapse
- #application_require_path ⇒ Pathname
- #application_target_path ⇒ Pathname
- #application_to_root_relative_path ⇒ Pathname
Instance Method Details
#application_require_path ⇒ Pathname
17 18 19 |
# File 'lib/avm/eac_ruby_base0/source_generators/base/application.rb', line 17 def application_require_path lib_path.to_pathname.join('application') end |
#application_target_path ⇒ Pathname
22 23 24 |
# File 'lib/avm/eac_ruby_base0/source_generators/base/application.rb', line 22 def application_target_path target_path.join('lib', "#{application_require_path}.rb") end |
#application_to_root_relative_path ⇒ Pathname
12 13 14 |
# File 'lib/avm/eac_ruby_base0/source_generators/base/application.rb', line 12 def application_to_root_relative_path target_path.relative_path_from(application_target_path.dirname) end |