Method code for $not_lock_frob.new_lock()

[Turn off line numbering]
  1: arg lock;
  2: 
  3: if (type(lock) != 'frob)
  4:     throw(~perm, "Argument is not a lock.");
  5: return (<this(), [lock]>);

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon