rubymotion-community/sugarcube

:respond_to? on .to_object objects

jonmorehouse opened this issue · 0 comments

respond_to? doesn't seem to work when building an object from a hash and to_object.

hash = {:entity => :something}
object = hash.to_object

object.respond_to?(:entity)
#=> false