Class: RoCommands::Model
- Defined in:
- lib/ro_commands/model.rb
Instance Method Summary collapse
Instance Method Details
#check(mod) ⇒ Object
12 13 14 15 16 |
# File 'lib/ro_commands/model.rb', line 12 def check(mod) model(mod).all.each do |record| Out.out(record.inspect) end end |
#delete_all(mod) ⇒ Object
6 7 8 |
# File 'lib/ro_commands/model.rb', line 6 def delete_all(mod) model(mod).delete_all end |