class String
Monkeypatch String#dump
so that Mote treats “regular” template text (i.e. not user provided interpolated content) as safe.
FIXME: It’d be nice if Mote had some sort of hook method for this so that we didn’t need to monkeypatch anything.
Public Instance Methods
dump()
click to toggle source
# File lib/sb.rb, line 36 def dump "SB(#{@@dump.bind(self).call})" end