Various doc updates.

git-svn-id: svn://hamptoncatlin.com/haml/trunk@387 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2007-03-01 06:13:15 +00:00
parent 761e4f9f22
commit 885570fea0
2 changed files with 22 additions and 19 deletions

View File

@ -18,9 +18,12 @@ if action_view_included
module Haml
module Helpers
# This module overrides various helpers in ActionView to make them
# work more effectively with Haml. It's not available unless ActionView
# is installed.
# This module overrides various helpers in ActionView
# to make them work more effectively with Haml.
# It also defines several helper methods,
# available from a Haml template,
# which are only useful within the context of ActionView.
# It's not available unless ActionView is installed.
#
#--
# Methods in this module should be nodoc'd.
@ -56,7 +59,7 @@ if action_view_included
res
end
def form_for(object_name, *args, &proc)
def form_for(object_name, *args, &proc) # :nodoc:
if block_given? && is_haml?
oldproc = proc
proc = bind_proc do |*args|

View File

@ -346,19 +346,19 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# but the rules aren't indented in any special way.
# For example:
#
# #main {
# color: #fff;
# background-color: #000;
# }
# #main p {
# width: 10em;
# }
# #main {
# color: #fff;
# background-color: #000;
# }
# #main p {
# width: 10em;
# }
#
# .huge {
# font-size: 10em;
# font-weight: bold;
# text-decoration: underline;
# }
# .huge {
# font-size: 10em;
# font-weight: bold;
# text-decoration: underline;
# }
#
# === <tt>:compact</tt>
#
@ -371,10 +371,10 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# while groups of rules have newlines between them.
# For example:
#
# #main { color: #fff; background-color: #000; }
# #main p { width: 10em; }
# #main { color: #fff; background-color: #000; }
# #main p { width: 10em; }
#
# .huge { font-size: 10em; font-weight: bold; text-decoration: underline; }
# .huge { font-size: 10em; font-weight: bold; text-decoration: underline; }
#
# == Sass Options
#