lib/blocks.rb in blocks-2.5.0 vs lib/blocks.rb in blocks-2.5.1
- old
+ new
@@ -12,11 +12,11 @@
@@template_folder = "blocks"
mattr_accessor :use_partials
@@use_partials = false
- mattr_accessor :wrap_with_surrounds_before_and_after_blocks
- @@wrap_with_surrounds_before_and_after_blocks = false
+ mattr_accessor :wrap_before_and_after_blocks
+ @@wrap_before_and_after_blocks = false
# Shortcut for using the templating feature / rendering templates
def self.render_template(view, partial, options={}, &block)
Blocks::Base.new(view, options).render_template(partial, &block)
end
\ No newline at end of file