Class: Raml::Template
- Defined in:
- lib/raml/node/template.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ValueNode
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from ValueNode
Methods inherited from Node
Constructor Details
This class inherits a constructor from Raml::ValueNode
Instance Method Details
#interpolate(params) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/raml/node/template.rb', line 7 def interpolate(params) name = @name.clone data = clone_data interpolate_params name, params interpolate_params data, params [ name, data ] end |