Skip to content

Commit

Permalink
Strexp#names is only used in a test, so rm
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed May 29, 2014
1 parent 333a4d0 commit 5682596
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
4 changes: 0 additions & 4 deletions actionpack/lib/action_dispatch/journey/router/strexp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ def initialize(ast, path, requirements, separators, anchor = true)
@separators = separators
@anchor = anchor
end

def names
@path.scan(/:\w+/).map { |s| s.tr(':', '') }
end
end
end
end
Expand Down
32 changes: 0 additions & 32 deletions actionpack/test/journey/router/strexp_test.rb

This file was deleted.

0 comments on commit 5682596

Please sign in to comment.