Method: LocalObject#local_object?

Defined in:
lib/y_support/local_object.rb

#local_object?(signature = caller_locations( 1, 1 )[0].label) ⇒ Boolean Also known as: ℓ?

True if the (optional) signature matches.

Returns:

  • (Boolean)


22
23
24
# File 'lib/y_support/local_object.rb', line 22

def local_object? signature=caller_locations( 1, 1 )[0].label
  signature == self.signature
end