Class: RAML::MultiValue

Inherits:
Array
  • Object
show all
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

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