Get Method Source
get_method_sourceRetrieve the source code of a specific method from a Smalltalk class. Specify the class name and method name, and choose whether it is an instance or class-side method.
Instructions
Get the source code of a specific method in a class.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | The name of the class containing the method | |
| method_name | Yes | The name of the method to retrieve source for | |
| is_class_method | No | Set to True for class-side methods, False for instance methods (default: False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||