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 $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]