Module: Enumerable
- Included in:
- Bud::BudCollection
- Defined in:
- lib/bud/collections.rb,
lib/bud/monkeypatch.rb
Instance Method Summary (collapse)
-
- (Object) pro(&blk)
We rewrite “map” calls in Bloom blocks to invoke the “pro” method instead.
Instance Method Details
- (Object) pro(&blk)
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.
1432 1433 1434 |
# File 'lib/bud/collections.rb', line 1432 def pro(&blk) map(&blk) end |