I have the following class:
attr_accessor :userid, :username
@userid = “”
@username = “”
@prefix = false
@unprefix = false
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?