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:
parent
c97a1381cc
commit
6a49e27990
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue