Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[docs] document nqp::create, correct nqp::can docs
  • Loading branch information
moritz committed Oct 13, 2013
1 parent a6a00f1 commit a7d7169
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/ops.markdown
Expand Up @@ -1176,14 +1176,18 @@ where the attribute was declared in type `$typeobj`. The notes in the
## can
* `can(Any $obj, str $method)`

If the object has a method of the given name, return it. Otherwise,
throw an exception.
If the object has a method of the given name, return 1. Otherwise, return 0.

## clone
* `clone(Any $obj)`

Return a clone of the passed in object.

## create
* `create(Mu $typeobj)`

Returns a newly allocated instance of type `$typeobj`.

## eqaddr
* `eqaddr(Any $l, Any $r)`

Expand Down

0 comments on commit a7d7169

Please sign in to comment.