According to the documentation unset attributes of Struct are set to nil:
nil
unset parameters default to nil.
Is it po
I also found this:
Person = Struct.new "Person", :name, :happy do def initialize(*) super self.location ||= true end end