All tests pass on Ruby 1.9.1

Signed-off-by: Tobias Lütke <[email protected]>
This commit is contained in:
Jakub Kuźma
2009-04-17 06:33:28 +08:00
committed by Tobias Lütke
parent 8d27864845
commit ed1b542abf
8 changed files with 130 additions and 130 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ module Liquid
# One of the strainer's responsibilities is to keep malicious method calls out # One of the strainer's responsibilities is to keep malicious method calls out
class Strainer < parent_object #:nodoc: class Strainer < parent_object #:nodoc:
INTERNAL_METHOD = /^__/ INTERNAL_METHOD = /^__/
@@required_methods = Set.new([:__send__, :respond_to?, :extend, :methods, :class, :object_id]) @@required_methods = Set.new([:__id__, :__send__, :respond_to?, :extend, :methods, :class, :object_id])
@@filters = {} @@filters = {}
+1 -1
View File
@@ -26,7 +26,7 @@ module Liquid
def render(context) def render(context)
output = super output = super
context[@to] = output.to_s context[@to] = output.join
'' ''
end end
end end
+1 -1
View File
@@ -17,7 +17,7 @@ module Liquid
attr_accessor :root attr_accessor :root
@@file_system = BlankFileSystem.new @@file_system = BlankFileSystem.new
class <<self class << self
def file_system def file_system
@@file_system @@file_system
end end