Method: Roby::Application#load_default_models
- Defined in:
- lib/roby/app.rb
#load_default_models ⇒ Object
Helper to the robot config files to load the root files in models/ (e.g. models/tasks.rb)
1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 |
# File 'lib/roby/app.rb', line 1995 def load_default_models ["tasks.rb", "actions.rb"].each do |root_type| path = find_file( "models", root_type, path: [app_dir], order: :specific_first ) require path if path end call_plugins(:load_default_models, self) end |