Added title to some other files in actionpack/lib/action_view

This commit is contained in:
Rizwan Reza 2010-06-16 22:57:50 +04:30
parent 324de1993b
commit f09736bc0f
7 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,8 @@ require 'active_support/core_ext/array/wrap'
require 'active_support/core_ext/object/blank'
module ActionView
# = 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

View File

@ -1,4 +1,5 @@
module ActionView #:nodoc:
# = Action View PathSet
class PathSet < Array #:nodoc:
%w(initialize << concat insert push unshift).each do |method|
class_eval <<-METHOD, __FILE__, __LINE__ + 1

View File

@ -2,6 +2,7 @@ require "action_view"
require "rails"
module ActionView
# = Action View Railtie
class Railtie < Rails::Railtie
config.action_view = ActiveSupport::OrderedOptions.new

View File

@ -1,4 +1,5 @@
module ActionView
# = Action View Layouts
module Layouts
# Returns the contents that are yielded to a layout, given a name or a block.
#

View File

@ -1,6 +1,8 @@
require 'active_support/core_ext/object/blank'
module ActionView
# = Action View Partials
#
# There's also a convenience method for rendering sub templates within the current controller that depends on a
# single object (we call this kind of sub templates for partials). It relies on the fact that partials should
# follow the naming convention of being prefixed with an underscore -- as to separate them from regular

View File

@ -1,6 +1,7 @@
require 'active_support/core_ext/object/try'
module ActionView
# Action View Rendering
module Rendering
# Returns the result of a render that's dictated by the options hash. The primary options are:
#

View File

@ -3,6 +3,7 @@ require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/kernel/singleton_class'
module ActionView
# = Action View Template
class Template
extend ActiveSupport::Autoload