aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/lookup_context.rb
diff options
context:
space:
mode:
authorJon Atack <jonnyatack@gmail.com>2015-07-17 20:15:35 +0200
committerJon Atack <jonnyatack@gmail.com>2015-07-17 20:18:57 +0200
commitea747f7d2ee3854627c4cdc41fa059f249e87394 (patch)
tree8e4e624b8bae0733338f56410adae24bc0ce16e5 /actionview/lib/action_view/lookup_context.rb
parent2c79122c0bbd61dcef12b95c80e025490d5a9783 (diff)
downloadrails-ea747f7d2ee3854627c4cdc41fa059f249e87394.tar.gz
rails-ea747f7d2ee3854627c4cdc41fa059f249e87394.tar.bz2
rails-ea747f7d2ee3854627c4cdc41fa059f249e87394.zip
[skip ci] Lookup can be a noun but it is not a verb
Various grammar corrections and wrap to 80 characters.
Diffstat (limited to 'actionview/lib/action_view/lookup_context.rb')
-rw-r--r--actionview/lib/action_view/lookup_context.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/actionview/lib/action_view/lookup_context.rb b/actionview/lib/action_view/lookup_context.rb
index 817b30dd2f..1c8359005b 100644
--- a/actionview/lib/action_view/lookup_context.rb
+++ b/actionview/lib/action_view/lookup_context.rb
@@ -6,10 +6,11 @@ require 'action_view/template/resolver'
module ActionView
# = Action View Lookup Context
#
- # <tt>LookupContext</tt> is the object responsible to hold all information required to lookup
- # templates, i.e. view paths and details. The LookupContext is also responsible to
- # generate a key, given to view paths, used in the resolver cache lookup. Since
- # this key is generated just once during the request, it speeds up all cache accesses.
+ # <tt>LookupContext</tt> is the object responsible for holding all information
+ # required for looking up templates, i.e. view paths and details.
+ # <tt>LookupContext</tt> is also responsible for generating a key, given to
+ # view paths, used in the resolver cache lookup. Since this key is generated
+ # only once during the request, it speeds up all cache accesses.
class LookupContext #:nodoc:
attr_accessor :prefixes, :rendered_format