If I create a Struct with an attribute which contains a question mark, any instance of that class will not be able to find that method. For e.g.
Test = Struct.new(:value, :value?)
t = Test.new(true,true)
t.value
=> true
t.value?
NoMethodError: undefined method `value?' for #<struct Test value=true, :value?=true>
Any idea ? I am using Ruby 1.9.3-p286.