lib/berkeley_library/tind/api/search.rb
# Iterates over the records returned by this search.
# @overload each_result(freeze: false, &block)
#   Yields each record to the provided block.
#   @param freeze [Boolean] whether to freeze each record before yielding.
#   @yieldparam marc_record [MARC::Record] each record
#   @return [self]
# @overload each_result(freeze: false)
#   Returns an enumerator of the records.
#   @param freeze [Boolean] whether to freeze each record before yielding.
#   @return [Enumerable<MARC::Record>] the records
Iterates over the records returned by this search.
Iterates over the records returned by this search .
def each_result(freeze: false, &block)
          return to_enum(:each_result, freeze: freeze) unless block_given?
          perform_search(freeze: freeze, &block)
          self
        end
def each_result ( freeze : false , & block ) return to_enum ( :each_result , freeze : freeze ) unless block_given? perform_search ( freeze : freeze , & block ) self end
Iterates over the records returned by this search.
Iterates over the records returned by this search .
freeze
<not_specific>
block
<not_specific>
overload
false, █) Yields each record to the provided block. @param freeze [Boolean] whether to freeze each record before yielding. @yieldparam marc_record [MARC::Record] each record @return [self]
false █ ) Yields each record to the provided block . @param freeze [ Boolean ] whether to freeze each record before yielding . @yieldparam marc_record [ MARC :: Record ] each record @return [ self ]
overload
false) Returns an enumerator of the records. @param freeze [Boolean] whether to freeze each record before yielding. @return [Enumerable] the records
false ) Returns an enumerator of the records . @param freeze [ Boolean ] whether to freeze each record before yielding . @return [ Enumerable ] the records