docs/HASH.md in lite-ruby-1.0.31 vs docs/HASH.md in lite-ruby-1.1.0
- old
+ new
@@ -108,19 +108,19 @@
```ruby
{ a: 1, b: 2 }.collate(a: 3, b: 4, c: 5) #=> { a: [1, 3], b: [2, 4], c: [5] }
```
-`collect_keys`
+`collect_keys` aka `map_keys`
------
Returns an array with all keys converted using the block operation.
```ruby
{ foo: 'bar', 'baz' => :boo }.collect_keys #=> [:foo, 'baz']
{ foo: 'bar', 'baz' => :boo }.collect_keys { |k| k.to_s.upcase } #=> ['FOO', BAZ']
```
-`collect_values`
+`collect_values` aka `map_values`
------
Returns an array with all values converted using the block operation.
```ruby
{ foo: 'bar', baz: :boo }.collect_values #=> ['bar', :boo]