diff options
author | eileencodes <eileencodes@gmail.com> | 2017-05-22 13:09:57 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2017-05-22 13:09:57 -0400 |
commit | 845aabbcd3805420090f8b92b50a4562577cf210 (patch) | |
tree | 96eaad95dacec3d1359ac2b6933895b0fc9a5e82 /actionpack/lib/action_dispatch/journey/gtg | |
parent | 673dacc937f20227fbdece55b36c63241df5bf83 (diff) | |
download | rails-845aabbcd3805420090f8b92b50a4562577cf210.tar.gz rails-845aabbcd3805420090f8b92b50a4562577cf210.tar.bz2 rails-845aabbcd3805420090f8b92b50a4562577cf210.zip |
Remove unused simulate method
This method was only used in the Rails tests and not by other methods in
the Rails simulator. Because it's a no-doc'd class it should be safe to
remove without deprecation.
Diffstat (limited to 'actionpack/lib/action_dispatch/journey/gtg')
-rw-r--r-- | actionpack/lib/action_dispatch/journey/gtg/simulator.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/lib/action_dispatch/journey/gtg/simulator.rb b/actionpack/lib/action_dispatch/journey/gtg/simulator.rb index d692f6415c..62f052ced6 100644 --- a/actionpack/lib/action_dispatch/journey/gtg/simulator.rb +++ b/actionpack/lib/action_dispatch/journey/gtg/simulator.rb @@ -18,14 +18,6 @@ module ActionDispatch @tt = transition_table end - def simulate(string) - ms = memos(string) { return } - MatchData.new(ms) - end - - alias :=~ :simulate - alias :match :simulate - def memos(string) input = StringScanner.new(string) state = [0] |