Module: Enumerable
- Included in:
- Bud::BudCollection
- Defined in:
- lib/bud/collections.rb,
lib/bud/monkeypatch.rb
Instance Method Summary collapse
-
#pro(&blk) ⇒ Object
We rewrite “map” calls in Bloom blocks to invoke the “pro” method instead.
Instance Method Details
#pro(&blk) ⇒ Object
We rewrite “map” calls in Bloom blocks to invoke the “pro” method instead. This is fine when applied to a BudCollection; when applied to a normal Enumerable, just treat pro as an alias for map.
1425 1426 1427 |
# File 'lib/bud/collections.rb', line 1425 def pro(&blk) map(&blk) end |