You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2013/05/29 14:51:20 UTC

[jira] [Created] (PROTON-322) Extend the native Ruby array and hash classes to work with the Data type

Darryl L. Pierce created PROTON-322:
---------------------------------------

             Summary: Extend the native Ruby array and hash classes to work with the Data type
                 Key: PROTON-322
                 URL: https://issues.apache.org/jira/browse/PROTON-322
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-c
            Reporter: Darryl L. Pierce
            Assignee: Darryl L. Pierce


Currently Ruby developers have to explicitly create instances of either Qpid::Proton::Data::List, Qpid::Proton::Data::Array or Qpid::Proton::Data::Map to get access to helper methods for interaction with Qpid::Proton::Data. But this too tightly couples the user to Proton-specific code for non-messaging related functions.

Instead, we should leverage Ruby metaprogramming and add the needed functions to the standard Ruby classes directly. That way developers wouldn't need to refactor existing code to work with Proton.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira