Skip to content

Commit

Permalink
Merge pull request #383 from mhaskel/doc_update
Browse files Browse the repository at this point in the history
Update README for updated member() functionality
  • Loading branch information
cyberious committed Dec 16, 2014
2 parents 3f9617f + ec08c60 commit 64c9840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ returns the value of the resource's parameter. For example, the following code r

* `max`: Returns the highest value of all arguments. Requires at least one argument. *Type*: rvalue

* `member`: This function determines if a variable is a member of an array. For example, `member(['a','b'], 'b')` returns 'true', while `member(['a','b'], 'c')` returns 'false'. *Type*: rvalue
* `member`: This function determines if a variable is a member of an array. The variable can be either a string, array, or fixnum. For example, `member(['a','b'], 'b')` and `member(['a','b','c'], ['b','c'])` return 'true', while `member(['a','b'], 'c')` and `member(['a','b','c'], ['c','d'])` return 'false'. *Type*: rvalue

* `merge`: Merges two or more hashes together and returns the resulting hash.

Expand Down

0 comments on commit 64c9840

Please sign in to comment.