From 885570fea0b38ea465e52ff73ebea288318d4594 Mon Sep 17 00:00:00 2001 From: nex3 Date: Thu, 1 Mar 2007 06:13:15 +0000 Subject: [PATCH] Various doc updates. git-svn-id: svn://hamptoncatlin.com/haml/trunk@387 7063305b-7217-0410-af8c-cdc13e5119b9 --- lib/haml/helpers/action_view_mods.rb | 11 ++++++---- lib/sass.rb | 30 ++++++++++++++-------------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/lib/haml/helpers/action_view_mods.rb b/lib/haml/helpers/action_view_mods.rb index 80b922ca..c88283f9 100644 --- a/lib/haml/helpers/action_view_mods.rb +++ b/lib/haml/helpers/action_view_mods.rb @@ -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| diff --git a/lib/sass.rb b/lib/sass.rb index 03bb4e05..f14815a6 100644 --- a/lib/sass.rb +++ b/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; +# } # # === :compact # @@ -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 #