Module: EacRubyBase1::RootModuleSetup::Patches
- Defined in:
- lib/eac_ruby_base1/root_module_setup/patches.rb
Instance Method Summary collapse
Instance Method Details
#patches_files ⇒ Enumerable<Pathname>
7 8 9 |
# File 'lib/eac_ruby_base1/root_module_setup/patches.rb', line 7 def patches_files root_module_directory.join('patches').glob('**/*.rb') end |
#require_patches ⇒ void
This method returns an undefined value.
12 13 14 15 16 |
# File 'lib/eac_ruby_base1/root_module_setup/patches.rb', line 12 def require_patches patches_files.each do |absolute_path| require_patch(absolute_path) end end |