Method: LocalObject#initialize
- Defined in:
- lib/y_support/local_object.rb
#initialize(signature = caller_locations( 1, 1 )[0].label) ⇒ LocalObject
Optional argument signature provides additional level of safety in ascertaining that the object indeed is of local origin.
16 17 18 |
# File 'lib/y_support/local_object.rb', line 16 def initialize signature=caller_locations( 1, 1 )[0].label @signature = signature end |