Class: Puppet::Pops::Loader::LoaderPaths::RubySmartPath
- Defined in:
- lib/puppet/pops/loader/loader_paths.rb
Direct Known Subclasses
Constant Summary collapse
- EXTENSION =
'.rb'.freeze
Instance Attribute Summary
Attributes inherited from SmartPath
Instance Method Summary collapse
-
#effective_path(typed_name, start_index_in_name) ⇒ Object
Duplication of extension information, but avoids one call.
- #extension ⇒ Object
Methods inherited from SmartPath
#initialize, #instantiator, #relative_path, #root_path
Constructor Details
This class inherits a constructor from Puppet::Pops::Loader::LoaderPaths::SmartPath
Instance Method Details
#effective_path(typed_name, start_index_in_name) ⇒ Object
Duplication of extension information, but avoids one call
89 90 91 |
# File 'lib/puppet/pops/loader/loader_paths.rb', line 89 def effective_path(typed_name, start_index_in_name) "#{File.join(generic_path, typed_name.name_parts)}.rb" end |