Class: MetaCL::Templates::Prints
- Inherits:
-
Mustache
- Object
- Mustache
- MetaCL::Templates::Prints
- Defined in:
- lib/metacl/templates/prints.rb
Instance Attribute Summary collapse
-
#string ⇒ Object
Returns the value of attribute string.
Instance Method Summary collapse
Instance Attribute Details
#string ⇒ Object
Returns the value of attribute string.
4 5 6 |
# File 'lib/metacl/templates/prints.rb', line 4 def string @string end |
Instance Method Details
#render(string, platform) ⇒ Object
6 7 8 9 |
# File 'lib/metacl/templates/prints.rb', line 6 def render(string, platform) @string = string super IO.read("#{__dir__}/prints.any.template") end |