From: "T. Onoma" Date: 2003-11-30T04:32:58+09:00 Subject: Syck with Ruby 1.6.7 Lost Character There seems to be a bug using the latest Syck with Ruby 1.6.7. When I to_yaml an object it's truncating the first character of all the attribute names: --- !ruby/object:Distro ey: blin ame: Blin Linux ersion: "1.3" bout: "Blin Linux is a stable, fast, universal, multi-purpose and 100% free Linux operating system for x86 processors. It doesn't need to be i nstalled on a hard disk as it is run directly from the bootable CD. The comfortable graphical user interface and excellent support for Cyrilli c alphabet (Russian, Ukrainian...) makes Blin Linux a useful alternative to similar existing products. It is designed for novice users who hav e just started using Linux as well as for experienced system integrators." eatures: Package Management: "--" Default Desktop: "ISO" Release Date: "1.3" Processor Architecture: TGZ Office Suite: GNOME Asian Language Support: "--" Free Download: "4" CDs: 2003/09/04 Installation: "1" Code Name: Blin Price (US$): " " Multilingual: i386 Journaled File Systems: "--" ackages: util-linux: 2.11z rpm: "--" Here's the class I'm using: class Distro attr_reader :key attr_accessor :name, :version, :about, :features, :packages, :status, :origin attr_accessor :homepages, :mailinglists, :userforums, :documents, :mirrors, :websites, :reviews attr_accessor :where_to_buy, :note def initialize(key,name,version,about='') @key = key @name = name @version = version @about = about @features = {} @packages = {} @status = '' @origin = '' @homepages = {} @mailinglists = {} @userforums = {} @documents = {} @mirrors = {} @websites = {} @reviews = {} @where_to_buy = {} end def to_yaml_properties ['key','name','version','about','features','packages','status','origin', 'homepages','mailinglists','userforums','documents','mirrors','websites', 'reviews','where_to_buy' ] end end # Distro -t0