From: Jamis Buck Date: 2004-08-24T09:59:15+09:00 Subject: OpenStruct respond_to? problem I blindly assumed that OpenStruct would handle respond_to? properly, but I'm seeing the following behavior: o = OpenStruct.new( :type_id => "string" ) p o.type_id #-> "string" p o.respond_to?( :type_id ) #-> false Is this the correct behavior for OpenStruct, or should this be reported as a bug? - Jamis -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis "I use octal until I get to 8, and then I switch to decimal."