module Enumerable

Public Instance Methods

pro(&blk) click to toggle source

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.

# File lib/bud/collections.rb, line 1425
def pro(&blk)
  map(&blk)
end