lib/cell/slim.rb in cells-slim-0.0.2 vs lib/cell/slim.rb in cells-slim-0.0.3
- old
+ new
@@ -52,15 +52,18 @@
def form_tag_html(html_options)
extra_tags = extra_tags_for_form(html_options)
"#{tag(:form, html_options, true) + extra_tags}"
end
- # Rails 4.0, TagHelper.
- def tag_option(key, value, escape)
- super(key, value, false)
+ def tag_options(options, escape = true)
+ super(options, true)
end
def content_tag_string(name, content, options, escape=true)
super(name, content, options, false)
+ end
+
+ def concat(string)
+ @output_buffer << string
end
end
end