module Kernel
Public Instance Methods
yield_self() { |self| ... }
click to toggle source
# File lib/parlour/kernel_hack.rb, line 2 def yield_self return to_enum(__method__) { 1 } unless block_given? yield self end
Also aliased as: then