lib/cell/slim/rails.rb in cells-slim-0.0.5 vs lib/cell/slim/rails.rb in cells-slim-0.0.6

- old
+ new

@@ -35,15 +35,15 @@ def form_tag_html(html_options) extra_tags = extra_tags_for_form(html_options) "#{tag(:form, html_options, true) + extra_tags}" end - def tag_options(options, escape = true) - super(options, true) + def tag(name = nil, options = nil, open = false, escape = true) + super(name, options, open, true) end - def content_tag_string(name, content, options, escape=true) - super(name, content, options, false) + def content_tag(name, content_or_options_with_block = nil, options = nil, escape = true, &block) + super(name, content_or_options_with_block, options, false, &block) end def concat(string) @output_buffer << string self