[−][src]Macro rosy::def_method_unchecked
Defines a method on a Class
instance in a simple
manner, without checking for exceptions.
This is purely a convenience wrapper for
def_method_unchecked
that
makes the process much less painful and tedious.
See def_method!
for usage info.
Safety
The caller must ensure that self
is not frozen or else a FrozenError
exception will be raised.