From: James French Date: 2009-06-05T23:51:42+09:00 Subject: Building custom objects from YAML Hi, If I start by a human-written block of data, such as ITEMS below, is it possible to deserialize these into objects of type Item? How might this be done? Thanks for any help, James ITEMS = %q{ --- item: - name: blah - type: blah - location: blah } class Item attr_accessor :name attr_accessor :type attr_accessor :location def initialize @name = "" @type = "" @location = "" end end