BlockContext.st
changeset 216 a8abff749575
parent 165 63341654cfb8
child 241 6f30be88e314
--- a/BlockContext.st	Thu Feb 02 13:13:16 1995 +0100
+++ b/BlockContext.st	Thu Feb 02 13:23:05 1995 +0100
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/BlockContext.st,v 1.9 1994-10-28 01:19:07 claus Exp $
+$Header: /cvs/stx/stx/libbasic/BlockContext.st,v 1.10 1995-02-02 12:20:35 claus Exp $
 '!
 
 !BlockContext class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/BlockContext.st,v 1.9 1994-10-28 01:19:07 claus Exp $
+$Header: /cvs/stx/stx/libbasic/BlockContext.st,v 1.10 1995-02-02 12:20:35 claus Exp $
 "
 !
 
@@ -83,6 +83,13 @@
     ^ con
 !
 
+method
+    "return the method in which the current contexts block was created."
+
+    home notNil ifTrue:[^ home method].
+    ^ nil
+!
+
 home
     "return the immediate home of the receiver.
      normally this is the methodcontext, where the block was created,