Sha256: 11ebb927ea861c6a33c671334c9656d19f1f3e09564e6b58c68537d401c50c35
Contents?: true
Size: 342 Bytes
Versions: 55
Compression:
Stored size: 342 Bytes
Contents
module KernelSpecs class MethodTest def f __method__ end alias_method :g, :f def in_block (1..2).map { __method__ } end define_method(:dm) do __method__ end define_method(:dm_block) do (1..2).map { __method__ } end def from_eval eval "__method__" end end end
Version data entries
55 entries across 55 versions & 3 rubygems