Details

    • Number of attachments :
      0

      Description

      Proc#=== is same as Proc#call in Ruby1.9.
      JRuby1.6 in 1.9 mode is not so.

        Activity

        Hide
        Hiro Asari added a comment -

        In MRI 1.9, Proc#call, Proc#[], Proc#===, and Proc#yield are equivalent.

        Fixed in master in https://github.com/jruby/jruby/commit/95b8418eaafcacf221df6d6be4fa51371cefc115
        in the 1.6 branch in https://github.com/jruby/jruby/commit/0c02a739daaad9683b5ff9c042dc8160e62fd8b8

        Show
        Hiro Asari added a comment - In MRI 1.9, Proc#call , Proc#[] , Proc#=== , and Proc#yield are equivalent. Fixed in master in https://github.com/jruby/jruby/commit/95b8418eaafcacf221df6d6be4fa51371cefc115 in the 1.6 branch in https://github.com/jruby/jruby/commit/0c02a739daaad9683b5ff9c042dc8160e62fd8b8

          People

          • Assignee:
            Hiro Asari
            Reporter:
            GOTOH Shunsuke
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: