Method: Datamappify::Data::Provider::CommonProvider::ModuleMethods#load_criterias
- Defined in:
- lib/datamappify/data/provider/common_provider.rb
#load_criterias ⇒ void
This method returns an undefined value.
Loads all the criteria files from the data provider
15 16 17 |
# File 'lib/datamappify/data/provider/common_provider.rb', line 15 def load_criterias Dir[Datamappify.root.join("data/criteria/#{path_name}/*.rb")].each { |file| require file } end |