NAME
SPVM::Stringer - a callback class for stringification
SYNOPSYS
use SPVM::Stringer;
my $stringer : SPVM::Stringer = sub : string ($self : self) {
return "Hello";
};
my $message = $stringer->to_str;
DESCRIPTION
SPVM::Stringer is a callback type to stringify object.
INSTANCE METHODS
to_str
sub to_str : string ($self : self);