README.md in flash_extensions-3.1.1 vs README.md in flash_extensions-3.2.0
- old
+ new
@@ -152,10 +152,18 @@
[1,2,3].several? #=> true
[1,1,3,3].several?(&:even?) #=> false
[].several? #=> false
```
+####Standard Deviation:####
+Use the `standard_deviation` method to return the standard deviation of elements of a collection.
+
+```ruby
+[1,2,6].variance #=> 2.6457513110645907
+[].variance #=> nil
+```
+
####Sum:####
Use the `sum` method to to return the sum of a collection of numbers.
```ruby
[1,2,3].sum #=> 2
@@ -176,9 +184,17 @@
Use the `take_last_while` method to return the last number of elements of a collection while it meets a criteria.
```ruby
[1,2,3,5].take_last_while(&:odd?) #=> [5, 5]
[].take_last_while(&:odd?) #=> []
+```
+
+####Variance:####
+Use the `variance` method to return the variance of elements of a collection.
+
+```ruby
+[1,2,6].variance #=> 7
+[].variance #=> nil
```
### HashExtensions
####Except:####
\ No newline at end of file