Permalink
Browse files

Assuming .^methods returns an array of Method objects, I'mve document…

…ed things

appropriately.  Now we just have to decide what the attribute descriptors are.  


git-svn-id: http://svn.pugscode.org/pugs@25722 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 13789b7 commit d802fb90fc0e9dea04098ec8ac13abb63ddcca1a wayland committed Mar 6, 2009
Showing with 8 additions and 5 deletions.
  1. +8 −5 S32-setting-library/Callable.pod
View
13 S32-setting-library/Callable.pod
@@ -38,6 +38,7 @@ role Code {
method Signature signature() {...}
method Code assuming(...) {...}
method do() {...} # See L<S12/Introspection>
+ # XXX What does do() return? I mean, it's a "method body", but what's that?
}
=head2 Block
@@ -49,6 +50,7 @@ role Block does Code does Callable {
method redo() {...}
method leave() {...}
method labels() {...}
+ method as() {...} # See L<S12/Introspection> and L<S02/Value types>
}
=head2 Signature
@@ -69,11 +71,12 @@ role WrapHandle {...}
=head2 Routine
-class Routine does Block {
- method WrapHandle wrap(Code $code) {...}
- method Routine unwrap(Wraphandle $original) {...}
- method Str name() {...}
-}
+ class Routine does Block {
+ method WrapHandle wrap(Code $code) {...}
+ method Routine unwrap(Wraphandle $original) {...}
+ method Str name() {...}
+ method Bool multi() {...}
+ }
=item unwrap

0 comments on commit d802fb9

Please sign in to comment.