Class: StringTemplate::Handler
- Inherits:
-
Object
- Object
- StringTemplate::Handler
- Defined in:
- lib/string_template/handler.rb
Class Method Summary collapse
Class Method Details
.call(template, source = nil) ⇒ Object
5 6 7 |
# File 'lib/string_template/handler.rb', line 5 def self.call(template, source = nil) "%Q\0#{source || template.source}\0" end |
.handles_encoding? ⇒ Boolean
9 10 11 |
# File 'lib/string_template/handler.rb', line 9 def self.handles_encoding? true end |