lib/async_partial.rb in async_partial-0.1.0 vs lib/async_partial.rb in async_partial-0.2.0

- old
+ new

@@ -20,10 +20,14 @@ def nil? false end + def html_safe? + true + end + def to_s val = @thread.value @thread.kill val end @@ -31,10 +35,9 @@ module ArrayBuffer def initialize(*) super @values = [] - @caller = caller[0] end def <<(value) @values << [value, :<<] unless value.nil? self