From 527a5a29078d23a6b4addcfceda5d5ed13971a9d Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 15 Oct 2009 19:40:43 -0700 Subject: [PATCH] [Haml] Add a few headers to haml/util.rb. --- lib/haml/util.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/haml/util.rb b/lib/haml/util.rb index 42e2254d..32b6f756 100644 --- a/lib/haml/util.rb +++ b/lib/haml/util.rb @@ -122,6 +122,8 @@ module Haml end end + ## Cross-Ruby-Version Compatibility + # Whether or not this is running under Ruby 1.8 or lower. # # @return [Boolean] @@ -155,6 +157,8 @@ module Haml ruby1_8? ? enum.enum_with_index : enum.each_with_index end + ## Static Method Stuff + # The context in which the ERB for \{#def\_static\_method} will be run. class StaticConditionalContext # @param set [#include?] The set of variables that are defined for this context.