class method
self.usage_path
Ruby on Rails 7.0.10
Since v5.2.8.1Signature
self.usage_path()
Path to lookup a USAGE description in a file.
Source
# File railties/lib/rails/command/base.rb, line 123
def usage_path
if default_command_root
path = File.join(default_command_root, "USAGE")
path if File.exist?(path)
end
end
Defined in railties/lib/rails/command/base.rb line 123
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Command::Base