SPVM::Short − A short Value as An Object
Short class in SPVM represents a short value as an object.
my $short_object
= Short−>new(5);
my $short_value = $short_object−>value;
This class is immutable.
This class is automatically loaded.
|
• |
Stringable |
"has value : ro short;"
The value.
"static method new : Short ($value : int);"
Creates a new Short object with a "short" $value.
"method to_string : string ();"
Casts the value to string type and returns it.
Copyright (c) 2023 Yuki Kimoto
MIT License