diff options
author | Fumiaki MATSUSHIMA <mtsmfm@gmail.com> | 2016-12-14 19:09:01 +0900 |
---|---|---|
committer | Fumiaki MATSUSHIMA <mtsmfm@gmail.com> | 2016-12-14 19:10:11 +0900 |
commit | a0d4d78884a6e7c89b582e9555ed2bb30db9d438 (patch) | |
tree | 83ec31d2752063512310688e2de22df4f6018d48 | |
parent | e3e663f1dc40a5cfae9ec60e32f5372cd7f9885b (diff) | |
download | rails-a0d4d78884a6e7c89b582e9555ed2bb30db9d438.tar.gz rails-a0d4d78884a6e7c89b582e9555ed2bb30db9d438.tar.bz2 rails-a0d4d78884a6e7c89b582e9555ed2bb30db9d438.zip |
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("/")
```
-rw-r--r-- | railties/lib/rails/generators/named_base.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/named_base.rb b/railties/lib/rails/generators/named_base.rb index 45f2fba5b9..70f63dc672 100644 --- a/railties/lib/rails/generators/named_base.rb +++ b/railties/lib/rails/generators/named_base.rb @@ -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 |