func NewFromReader(r io.Reader) (*Yaml, error) {
	y := new(Yaml)
	dec := yaml.NewDecoder(r)
	err := dec.Decode(&y.data)
	return y, err
}
// NewFromReader returns a *Yaml by decoding from an io.Reader
NewFromReader returns a *Yaml by decoding from an io.Reader
// NewFromReader returns a * Yaml by decoding from an io . Reader
func NewFromReader(r io.Reader) (*Yaml, error) {
	y := new(Yaml)
	dec := yaml.NewDecoder(r)
	err := dec.Decode(&y.data)
	return y, err
}
func NewFromReader ( r io . Reader ) ( * Yaml , error ) { y := new ( Yaml ) dec := yaml . NewDecoder ( r ) err := dec . Decode ( & y . data ) return y , err }
NewFromReader returns a *Yaml by decoding from an io.Reader
NewFromReader returns a * Yaml by decoding from an io . Reader