aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/paths.rb
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-12-20 17:19:34 -0500
committerJon Moss <me@jonathanmoss.me>2016-12-20 17:19:34 -0500
commit78a1bb94a720da5c3703e0651506ba7d9ae54dfd (patch)
tree1994feafe8066512881bb673660c604004fb563b /railties/lib/rails/paths.rb
parenteecf7ecbfd3e82d6cf558ea125d24bf393d50d66 (diff)
downloadrails-78a1bb94a720da5c3703e0651506ba7d9ae54dfd.tar.gz
rails-78a1bb94a720da5c3703e0651506ba7d9ae54dfd.tar.bz2
rails-78a1bb94a720da5c3703e0651506ba7d9ae54dfd.zip
Small grammar fixes in `Rails::Paths`
[ci skip]
Diffstat (limited to 'railties/lib/rails/paths.rb')
-rw-r--r--railties/lib/rails/paths.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb
index 10925de8b2..af3be10a31 100644
--- a/railties/lib/rails/paths.rb
+++ b/railties/lib/rails/paths.rb
@@ -2,12 +2,12 @@ module Rails
module Paths
# This object is an extended hash that behaves as root of the <tt>Rails::Paths</tt> system.
# It allows you to collect information about how you want to structure your application
- # paths by a Hash like API. It requires you to give a physical path on initialization.
+ # paths through a Hash-like API. It requires you to give a physical path on initialization.
#
# root = Root.new "/rails"
# root.add "app/controllers", eager_load: true
#
- # The command above creates a new root object and adds "app/controllers" as a path.
+ # The above command creates a new root object and adds "app/controllers" as a path.
# This means we can get a <tt>Rails::Paths::Path</tt> object back like below:
#
# path = root["app/controllers"]