lib/servel/haml_context.rb in servel-0.1.0 vs lib/servel/haml_context.rb in servel-0.2.0
- old
+ new
@@ -1,5 +1,7 @@
class Servel::HamlContext
+ include ActiveSupport::NumberHelper
+
ENGINE_OPTIONS = { remove_whitespace: true, escape_html: true, ugly: true }
def initialize()
@build_path = Pathname.new(__FILE__).dirname.realpath + 'templates'
@haml_engine_cache = {}
\ No newline at end of file