Skip to content

Commit c7b75de

Browse files
author
GlitchMr
committed
Add stringification methods on Mu.
1 parent 32cd75a commit c7b75de

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

lib/Mu.pod

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,27 @@ Returns C<False> on the type object, and C<True> otherwise
2828
2929
Returns C<False> on the type object, and C<True> otherwise
3030
31+
=head2 Str
32+
33+
multi sub Str(Mu) returns Str
34+
multi method Str() returns Str
35+
36+
Returns implementation-defined identifier.
37+
38+
=head2 gist
39+
40+
multi sub gist(Mu) returns Str
41+
multi method gist() returns Str
42+
43+
Returns result of using C<.perl> method on current object.
44+
45+
=head2 perl
46+
47+
multi sub perl(Mu) returns Str
48+
multi method perl() returns Str
49+
50+
Returns parsable string which generates current class.
51+
3152
=head2 clone
3253
3354
method clone(*%twiddles)

0 commit comments

Comments
 (0)