4
require 'yaml/basenode'
9
# YAML Generic Model container
13
attr_accessor :kind, :type_id, :value, :anchor
20
@value[key.transform] = [key, val]
32
# Transform this node fully into a native type
39
t[ k ] = v[1].transform
41
elsif @value.is_a? Array
49
YAML.transfer_method( @type_id, t )