mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
9 lines
157 B
Ruby
9 lines
157 B
Ruby
require 'hamlit/filter'
|
|
|
|
module Hamlit
|
|
class DynamicFormatter < Hamlit::Filter
|
|
def on_dynamic(exp)
|
|
[:dynamic, "(#{exp}).to_s"]
|
|
end
|
|
end
|
|
end
|