Methods

Enumerable

Public Instance Methods

capture_first() click to toggle source
# File lib/merb-cache/core_ext/enumerable.rb, line 2
def capture_first
  each do |o|
    return yield(o) || next
  end

  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.