Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-708

Is set checking methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.2
    • 0.3
    • Ruby - Compiler
    • None
    • Patch Available

    Description

      It would be very useful to add some "is set checking" methods to our Ruby generated structs. For instance if you have a struct with a field named "blah", you generate a method called "blah?" that returns true if the blah field is non-nil.

      Attachments

        1. thrift-708.patch
          8 kB
          Bryan Duxbury

        Activity

          People

            bryanduxbury Bryan Duxbury
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: