public
Rubygem
Fork of nex3/haml
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/chriseppstein/haml.git
Misspelled supress_eval.

Doink!

suppress!

Love,
Hampton.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@54 
7063305b-7217-0410-af8c-cdc13e5119b9
hcatlin (author)
Fri Sep 29 13:02:05 -0700 2006
commit  6a49e279904689e89a251b7ff3a2d32df41b8610
tree    96e08680889a0ea1e850df258bd34543a1f1693c
parent  c97a1381cc9c759d25b8f9fa5d5c8cafe7f1cd7b
...
192
193
194
195
 
196
197
198
...
192
193
194
 
195
196
197
198
0
@@ -192,7 +192,7 @@ module Haml #:nodoc:
0
     end
0
     
0
     def template_eval(args)
0
- !@supress_eval ? @scope_object.instance_eval(args) : ""
0
+ !@suppress_eval ? @scope_object.instance_eval(args) : ""
0
     end
0
   end
0
 end
...
14
15
16
17
 
18
19
20
...
14
15
16
 
17
18
19
20
0
@@ -14,7 +14,7 @@ class EngineTest < Test::Unit::TestCase
0
   end
0
 
0
   def test_stop_eval
0
- assert_equal("", render("= 'Hello'", :supress_eval => true))
0
+ assert_equal("", render("= 'Hello'", :suppress_eval => true))
0
   end
0
 
0
   # This is ugly because Hashes are unordered; we don't always know the order

Comments

    No one has commented yet.