Class: RAML::MultiValue
- Inherits:
-
Array
- Object
- Array
- RAML::MultiValue
- Defined in:
- lib/raml/multi_value.rb
Overview
The MultiValue class is simply an Array. It is used to distinguish an Array value from a multi-key entry.
Instance Method Summary collapse
-
#initialize(*elements) ⇒ MultiValue
constructor
A new instance of MultiValue.
Constructor Details
#initialize(*elements) ⇒ MultiValue
Returns a new instance of MultiValue.
7 8 9 |
# File 'lib/raml/multi_value.rb', line 7 def initialize(*elements) replace(elements) end |