singleton method Psych.load
load(yaml) -> object
-
[TODO]
Load +yaml+ in to a Ruby data structure. If multiple documents are provided, the object contained in the first document will be returned.
Example:
Psych.load("--- a") # => 'a' Psych.load("---\n - a\n - b") # => ['a', 'b']
module Psych