Module: Enumerable
- Defined in:
- lib/jrubyfx/utils.rb
Instance Method Summary collapse
Instance Method Details
#map_find(&block) ⇒ Object
69 70 71 72 73 74 |
# File 'lib/jrubyfx/utils.rb', line 69 def map_find(&block) m = {} m[self.find do |i| m[i] = block.call(i) end] end |