diff options
| author | Teddy Wing | 2018-05-15 15:24:29 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-05-15 15:24:29 +0200 | 
| commit | ceec2e53425f8a1c726f4903d03e268386cb598e (patch) | |
| tree | a77345d0389ba2f3cda8b4d6cb57b37bc99e0c36 /lib/tom_tom/matrix.rb | |
| parent | 3667a7d4976a9e69ae990df9ba681f679e0ee4fa (diff) | |
| download | chouette-core-ceec2e53425f8a1c726f4903d03e268386cb598e.tar.bz2 | |
CleanUp: Add `#destroy_empty`6854-clean-up--destroy-routes-outside-referential
Gives us a single call site to trigger the destruction of vehicle
journeys, journey patterns, and routes without content.
This was previously done directly in the `#clean` method, but since it's
not needed during referential duplication (only during merges), we don't
want to enable it by default. Thus now to activate the same old
functionality, you would create a `CleanUp` like this:
    CleanUp.new(methods: [:destroy_empty])
Refs #6854
Diffstat (limited to 'lib/tom_tom/matrix.rb')
0 files changed, 0 insertions, 0 deletions
