Module: Hamlit::FescapeDispathcer

Defined in:
lib/hamlit/force_escapable.rb

Overview

This module allows Temple::Filter to dispatch :fescape on ‘#compile`.

Instance Method Summary collapse

Instance Method Details

#on_fescape(flag, exp) ⇒ Object



7
8
9
# File 'lib/hamlit/force_escapable.rb', line 7

def on_fescape(flag, exp)
  [:fescape, flag, compile(exp)]
end