Module: Card::Set::All::ResetMachines::ClassMethods
- Defined in:
- tmpsets/set/mod010-machines/all/reset_machines.rb
Overview
~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/machines/set/all/reset_machines.rb ~~
Instance Method Summary collapse
Instance Method Details
#reset_all_machines ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'tmpsets/set/mod010-machines/all/reset_machines.rb', line 5 def reset_all_machines Auth.as_bot do Card.search( right: { codename: %w(in machine_cache machine_output) } ).each do |card| card.update_columns trash: true card.expire end end end |