Method: Checkup::CLI::Utility#list
- Defined in:
- lib/checkup/cli/utility.rb
#list ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/checkup/cli/utility.rb', line 32 def list root_path = [:root_path] if root_path == "" root_path = Checkup::Config::DEFAULT_ROOT_PATH end load root_path Model.all.each do |model| puts model.trigger end end |