Misspelled supress_eval.

Doink!

suppress!

Love,
Hampton.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@54 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
hcatlin 2006-09-29 20:02:05 +00:00
parent c97a1381cc
commit 6a49e27990
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ module Haml #:nodoc:
end
def template_eval(args)
!@supress_eval ? @scope_object.instance_eval(args) : ""
!@suppress_eval ? @scope_object.instance_eval(args) : ""
end
end
end

View File

@ -14,7 +14,7 @@ class EngineTest < Test::Unit::TestCase
end
def test_stop_eval
assert_equal("", render("= 'Hello'", :supress_eval => true))
assert_equal("", render("= 'Hello'", :suppress_eval => true))
end
# This is ugly because Hashes are unordered; we don't always know the order