Method: Minidoc::Finders::ResultSet#each
- Defined in:
- lib/minidoc/finders.rb
#each(&_block) ⇒ Object
83 84 85 86 87 88 89 90 91 |
# File 'lib/minidoc/finders.rb', line 83 def each(&_block) if block_given? @view.each do |doc| yield @doc_wrapper.call(doc) end else to_enum end end |