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