method rebless

Documentation for method rebless assembled from the following types:

class Metamodel::Primitives

From Metamodel::Primitives

(Metamodel::Primitives) method rebless

method rebless(Mu $objectMu $type)

Changes $obj to be of type $type. This only works if $type type-checks against the current type of $obj, and if the storage of $object is a subset of that of $type.