Sha256: ed9b8dd5ce1b322950f126aa4c5c65b17800d90300756e850e8fafa22aab4a24

Contents?: true

Size: 178 Bytes

Versions: 29

Compression:

Stored size: 178 Bytes

Contents

class Proc
  # Standard in ruby 1.8.7+. See official documentation[http://ruby-doc.org/core-1.9/classes/Proc.html]
  alias_method :yield, :call unless method_defined? :yield
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
marcandre-backports-1.7.0 lib/backports/proc.rb
marcandre-backports-1.7.1 lib/backports/proc.rb
marcandre-backports-1.8.0 lib/backports/1.8.7/proc.rb
marcandre-backports-1.8.1 lib/backports/1.8.7/proc.rb
marcandre-backports-1.8.2 lib/backports/1.8.7/proc.rb
marcandre-backports-1.8.3 lib/backports/1.8.7/proc.rb
marcandre-backports-1.8.4 lib/backports/1.8.7/proc.rb
marcandre-backports-1.9.0 lib/backports/1.8.7/proc.rb
backports-1.13.1 lib/backports/1.8.7/proc.rb
backports-1.13.0 lib/backports/1.8.7/proc.rb
backports-1.12.3 lib/backports/1.8.7/proc.rb
backports-1.12.2 lib/backports/1.8.7/proc.rb
backports-1.12.1 lib/backports/1.8.7/proc.rb
backports-1.12.0 lib/backports/1.8.7/proc.rb
backports-1.11.2 lib/backports/1.8.7/proc.rb
backports-1.11.1 lib/backports/1.8.7/proc.rb
backports-1.11.0 lib/backports/1.8.7/proc.rb
backports-1.10.3 lib/backports/1.8.7/proc.rb
backports-1.10.2 lib/backports/1.8.7/proc.rb
backports-1.10.1 lib/backports/1.8.7/proc.rb