1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unused method namespaced_file_path

```
$ git grep namespaced_file_path
railties/lib/rails/generators/named_base.rb:        def namespaced_file_path
railties/lib/rails/generators/named_base.rb:          @namespaced_file_path ||= namespaced_class_path.join("/")
```
This commit is contained in:
Fumiaki MATSUSHIMA 2016-12-14 19:09:01 +09:00
parent e3e663f1dc
commit a0d4d78884

View file

@ -90,10 +90,6 @@ module Rails
@class_path
end
def namespaced_file_path
@namespaced_file_path ||= namespaced_class_path.join("/")
end
def namespaced_class_path
@namespaced_class_path ||= [namespaced_path] + @class_path
end