method rebless
Documentation for method rebless
assembled from the following types:
class Metamodel::Primitives
(Metamodel::Primitives) method rebless
method rebless(Mu $object, Mu $type)
Changes $object
to be of type $type
. This only works if $type
type-checks against the current type of $object
, and if the storage of $object
is a subset of that of $type
. [1]