This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_1_378) is shown here.
transform()
public
Transform this node fully into a native type
# File lib/yaml/yamlnode.rb, line 34
def transform
t = nil
if @value.is_a? Hash
t = {}
@value.each { |k,v|
t[ k ] = v[1].transform
}
elsif @value.is_a? Array
t = []
@value.each { |v|
t.push v.transform
}
else
t = @value
end
YAML.transfer_method( @type_id, t )
end