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

Is set checking methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.2
    • Fix Version/s: 0.3
    • Component/s: Ruby - Compiler
    • Labels:
      None
    • Patch Info:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: