Skip to content

Commit 8c3aedc

Browse files
authored
Merge pull request #365 from MasterDuke17/add_gist_method_NQPRoutine
Add .gist method to NQPRoutine
2 parents 04a4207 + 3633524 commit 8c3aedc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/NQPRoutine.nqp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,10 @@ my knowhow NQPRoutine {
346346
}
347347

348348
method signature() { $!signature }
349+
350+
method gist() {
351+
self.name()
352+
}
349353
}
350354
nqp::setinvokespec(NQPRoutine, NQPRoutine, '$!do', nqp::null);
351355
#?if moar

0 commit comments

Comments
 (0)