class

ActionView::LookupContext

v4.2.1 - Show latest stable - Superclass: Object

Action View Lookup Context

LookupContext 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.

Included modules

  • ActionView::LookupContext::Accessors
  • ActionView::LookupContext::DetailsCache
  • ActionView::LookupContext::ViewPaths

Attributes

[RW]prefixes
[RW]rendered_format

Files

  • actionview/lib/action_view/lookup_context.rb

Nested classes and modules