torquebox/torquebox — pull request #96 by dbroeglin (2012-05-30 07:33:37+00:00)
Title: Added a respond_to method to match method_missing

TorqueBox::Messaging::TextMessage implements method_missing which delegates to @jms_message. However, it does not implement respond_to?. Thus, code like: message.respond_to?(:text) returns false whereas the object would respond to message.text. This small patch tries to correct it.

Caution: I did not implement a test for it.

A JIRA issue will be opened.