lib/tongo/generator.rb in tongo-0.0.1 vs lib/tongo/generator.rb in tongo-0.0.2
- old
+ new
@@ -2,10 +2,10 @@
class Generator
TOKENIZER = /(\%\{.+?\})/
INTERPOLATION = /\%\{(.+?)\}/
- def compile(exp)
+ def call(exp)
"\"#{compile!(exp)}\""
end
def initialize(options = {})
end
\ No newline at end of file