method
resolve_path
v8.0.0 -
Show latest stable
- Class:
Rails::Command::Base
resolve_path(path)private
No documentation available.
# File railties/lib/rails/command/base.rb, line 164
def resolve_path(path)
path = File.join("../commands", *namespace.delete_prefix("rails:").split(":"), path)
path = File.expand_path(path, __dir__)
path if File.exist?(path)
end