aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorTeddy Wing2018-03-14 11:02:42 +0100
committerTeddy Wing2018-03-14 16:42:02 +0100
commit9dc7c942fd7e0c0b298bfff08088c830841f666c (patch)
treeb0e97293723bc84235aa56297e6280ec149a19e7 /db/migrate
parenta5d070093a2561c4924a030338db9064cdff7a16 (diff)
downloadchouette-core-9dc7c942fd7e0c0b298bfff08088c830841f666c.tar.bz2
Route#duplicate: Use `#slice!` instead of `#slice`
Johan suggested simplifying this method by changing the `slice` call: http://api.rubyonrails.org/classes/Hash.html#method-i-slice-21 I had modified this to fix the whitespace while working on the `WayCost` calculation function for `Chouette::Route`s, so don't really have a brain cache hit on this code, but the change makes sense and seems to work. Refs #6095
Diffstat (limited to 'db/migrate')
0 files changed, 0 insertions, 0 deletions