class Raml::ParametizedReference

Attributes

parameters[RW]

@!attribute [rw] parameters

@return [Hash<String,String>] parameters to interpolate when instantiating the resouce type or trait.

Public Class Methods

new(name, parameters={}, parent) click to toggle source

@param name [String] the resource type or trait name. @param parameters [Hash<String,String>] parameters to interpolate when instantiating the resouce type or trait. @param parent [Raml::Node] the parent node.

Calls superclass method
# File lib/raml/node/parametized_reference.rb, line 10
def initialize(name, parameters={}, parent)
  super name, parent
  @parameters = parameters
end