return $instance;
}
+# TODO: this is actually not being used!
sub _inline_rebless_instance {
my $self = shift;
sub make_immutable {
my ( $self, @args ) = @_;
- return if not $self->is_mutable;
+ return unless $self->is_mutable;
my ($file, $line) = (caller)[1..2];
$self->_immutable_options(@args),
);
$self->_rebless_as_immutable(@args);
+
return $self;
}