Module: Enumerable

Included in:
Bud::BudCollection
Defined in:
lib/bud/monkeypatch.rb,
lib/bud/collections.rb

Instance Method Summary collapse

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.



247
248
249
# File 'lib/bud/monkeypatch.rb', line 247

def pro(&blk)
  map(&blk)
end