Skip to content

Commit

Permalink
Add missing reference documentation for Array class
Browse files Browse the repository at this point in the history
  • Loading branch information
vnen committed Oct 20, 2015
1 parent eefc2bf commit baa59c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/base/classes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3766,6 +3766,7 @@
<argument index="0" name="value" type="var">
</argument>
<description>
Append an element at the end of the array (alias of [method push_back]).
</description>
</method>
<method name="clear">
Expand All @@ -3784,6 +3785,7 @@
<argument index="0" name="value" type="var">
</argument>
<description>
Remove the first occurence of a value from the array.
</description>
</method>
<method name="find">
Expand All @@ -3792,6 +3794,7 @@
<argument index="0" name="value" type="var">
</argument>
<description>
Searches the array for a value and returns its index or -1 if not found.
</description>
</method>
<method name="hash">
Expand All @@ -3812,12 +3815,14 @@
</method>
<method name="invert">
<description>
Reverse the order of the elements in the array (so first element will now be the last).
</description>
</method>
<method name="is_shared">
<return type="bool">
</return>
<description>
Get whether this is a shared array instance.
</description>
</method>
<method name="push_back">
Expand Down Expand Up @@ -3850,6 +3855,7 @@
</method>
<method name="sort">
<description>
Sort the array using natural order.
</description>
</method>
<method name="sort_custom">
Expand All @@ -3858,6 +3864,7 @@
<argument index="1" name="func" type="String">
</argument>
<description>
Sort the array using a custom method. The arguments are an object that holds the method and the name of such method. The custom method receives two arguments (a pair of elements from the array) and must return true if the first argument is less than the second, and return false otherwise.
</description>
</method>
<method name="Array">
Expand Down

0 comments on commit baa59c0

Please sign in to comment.