
Rubyish::String - String (class)
constructor
$string = Rubyish::String->new; #=> bless( do{\(my $o = '')}, 'Rubyish::String' )
$string = Rubyish::String->new("hello"); #=> bless( do{\(my $o = 'hello')}, 'Rubyish::String' )
$string = String("hello"); # do the same
replace content
$string = Rubyish::String->new("hello"); #=> bless( do{\(my $o = 'hello')}, 'Rubyish::String' )
$string->replace("world") #=> bless( do{\(my $o = 'world')}, 'Rubyish::String' )
Not Documented
$string = String("hello")
$string->gsub(qr/ello/, "i") #=> hi