From: Christian Kerth Date: 2008-11-26T18:19:35+09:00 Subject: Exclude members from YAML conversion? Hi! I have the following class: class user attr_accessor :userid, :username def initialize @userid = "" @username = "" @prefix = false @unprefix = false end end when i convert that with to_yaml, all 4 member variables are translated into the yaml string. I need to exclude the members @prefix and @unprefix, they are used just for internal decisions and dosn't need to be in the yaml string. how do i do that? -- Posted via http://www.ruby-forum.com/.