Class: CloudFormula::JsonErb::CompilerWithBlock
- Inherits:
-
ERB::Compiler
- Object
- ERB::Compiler
- CloudFormula::JsonErb::CompilerWithBlock
- Defined in:
- lib/cloudformula/json_erb.rb
Instance Method Summary collapse
Instance Method Details
#add_insert_cmd(out, content) ⇒ Object
15 16 17 |
# File 'lib/cloudformula/json_erb.rb', line 15 def add_insert_cmd(out, content) out.push "#{@insert_cmd}((#{content}).to_s.try_to_json)" end |