Sha256: 088ad67c4b614aa77fef44a31dacaace33793f6725af70d29acd5cae271cc745

Contents?: true

Size: 216 Bytes

Versions: 21

Compression:

Stored size: 216 Bytes

Contents

unless Method.method_defined?(:<<) || Method.method_defined?(:>>)
  require 'backports/2.6.0/proc/compose'

  class Method
    def <<(g)
      to_proc << g
    end

    def >>(g)
      to_proc >> g
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
backports-3.25.0 lib/backports/2.6.0/method/compose.rb
backports-3.24.1 lib/backports/2.6.0/method/compose.rb
backports-3.24.0 lib/backports/2.6.0/method/compose.rb
backports-3.23.0 lib/backports/2.6.0/method/compose.rb
backports-3.22.1 lib/backports/2.6.0/method/compose.rb
backports-3.22.0 lib/backports/2.6.0/method/compose.rb
backports-3.21.0 lib/backports/2.6.0/method/compose.rb
backports-3.20.2 lib/backports/2.6.0/method/compose.rb
backports-3.20.1 lib/backports/2.6.0/method/compose.rb
backports-3.20.0 lib/backports/2.6.0/method/compose.rb
backports-3.19.0 lib/backports/2.6.0/method/compose.rb
backports-3.18.2 lib/backports/2.6.0/method/compose.rb
backports-3.18.1 lib/backports/2.6.0/method/compose.rb
backports-3.18.0 lib/backports/2.6.0/method/compose.rb
backports-3.17.2 lib/backports/2.6.0/method/compose.rb
backports-3.17.1 lib/backports/2.6.0/method/compose.rb
backports-3.17.0 lib/backports/2.6.0/method/compose.rb
backports-3.16.1 lib/backports/2.6.0/method/compose.rb
backports-3.16.0 lib/backports/2.6.0/method/compose.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/backports-3.15.0/lib/backports/2.6.0/method/compose.rb