Sha256: 30bd92fdef60031c7bd0fda411e3abe8462bd7602238c5cfc70d6a057c1b53e7

Contents?: true

Size: 330 Bytes

Versions: 20

Compression:

Stored size: 330 Bytes

Contents

fails:Kernel.__callee__ returns the current method, even when aliased
fails:Kernel.__callee__ returns the original name when aliased method
fails:Kernel.__callee__ returns the caller from blocks too
fails:Kernel.__callee__ returns nil when not called from a method
fails:Kernel.__callee__ returns the caller when sent as a string

Version data entries

20 entries across 10 versions & 1 rubygems

Version Path
backports-3.4.0 spec/tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.4.0 spec/tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.3.5 spec/tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.3.5 spec/tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.3.4 spec/tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.3.4 spec/tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.3.3 tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.3.3 tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.3.2 tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.3.2 tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.3.1 tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.3.1 tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.3.0 tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.3.0 tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.2.0 tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.2.0 tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.1.1 tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.1.1 tags/1.8.6/core/kernel/__callee___spec.rb
backports-3.1.0 tags/1.8.7/core/kernel/__callee___spec.rb
backports-3.1.0 tags/1.8.6/core/kernel/__callee___spec.rb