| Did you know ... | Search Documentation: |
| Instance variables |
<-access
attribute of a variable defines the side-effect-free methods that are
associated:
none No methods, only access via object <->slotget Get access, only write through object ->slotsend Send access, only read through object <-slotboth Both read and write access
If a variable requires side-effects for writing (the most common
case), it should be declared with variable<-access:
read and a send_method with the same name should be defined on the
class. This method may write the variable using object->slot.
<-object
and‘class
variable<-instance_variables’.->_check
may be used to validate the object base. Part of its job is checking the
consistency of the values of instance variables.
See also variable->send, type<-check
and type<-convert.