Sha256: da7236736e3f7788baf395e40104930a2c2d805dda002cb0a1cd39ea8e90fe7a
Contents?: true
Size: 276 Bytes
Versions: 147
Compression:
Stored size: 276 Bytes
Contents
module Tins module ProcCompose def compose(other) self.class.new do |*args| if other.respond_to?(:call) call(*other.call(*args)) else call(*other.to_proc.call(*args)) end end end alias * compose end end
Version data entries
147 entries across 129 versions & 9 rubygems