source: trunk/j/src/bsh/commands/extend.bsh @ 2

Last change on this file since 2 was 2, checked in by piso, 18 years ago

Initial checkin.

File size: 213 bytes
Line 
1
2bsh.help.extend= "usage: extend( This parent )";
3
4/*
5  Return a new object that is a child of the specified object.
6*/
7extend( bsh.This parent ) {
8  this.namespace.setParent( parent.namespace );
9  return this;
10}
11
Note: See TracBrowser for help on using the repository browser.