A get_method
object defines the mapping from a selector to an implementation for the get
virtual machine operation. For details see class method
and class behaviour.
|host_method,
summary=[string]*, source=[source_location]*, group=[name]*->initialise
of a get_method takes one additional argument with respect to method->initialise:
the return_type. If the actually returned value does not satisfy this
type, type conversion is attempted. If the conversion succeeds, the
error converted_return_value is raised and the converted value is
returned. If the conversion is not successful, the error
bad_return_value is raised and the method fails.
->send.
After the implementation returns a result, this result is passed to the
get_method<-return_type
for validation.