Various doc updates.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@387 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
761e4f9f22
commit
885570fea0
|
@ -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|
|
||||
|
|
30
lib/sass.rb
30
lib/sass.rb
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue