Sha256: 2ab378c7d05fff43ba7028ec43fee5f705b5aadfab9c484a72b0298e64d09f33
Contents?: true
Size: 304 Bytes
Versions: 15
Compression:
Stored size: 304 Bytes
Contents
class Surrogate class Invocation attr_accessor :args, :block def initialize(args, &block) self.args, self.block = args, block end def has_block? !!block end def ==(invocation) args == invocation.args && has_block? == invocation.has_block? end end end
Version data entries
15 entries across 15 versions & 1 rubygems