lib/mastalk/extensions.rb in mastalk-0.3.4 vs lib/mastalk/extensions.rb in mastalk-0.3.5
- old
+ new
@@ -7,10 +7,10 @@
# Add new snippets in the form:
# # start_tag, end_tag, new_line_ending
#
# <p>replacement html <%= body %></p>
module Extensions
- SNIPPETS_FOLDER=File.join(File.dirname(__FILE__), 'snippets')
+ SNIPPETS_FOLDER = File.join(File.dirname(__FILE__), 'snippets')
@@extensions = []
def extension(start, stop = nil, &block)
re_start = Regexp.escape(start)
re_stop = Regexp.escape(stop || start)