lib/yard-doctest.rb
#
# Returns hash with arrays of before/after hooks.
# @api private
#
Returns hash with arrays of before/after hooks.
Returns hash with arrays of before / after hooks .
def hooks
      @hooks ||= {}.tap do |hash|
        hash[:before], hash[:after] = [], []
      end
    end
def hooks @hooks ||= { } . tap do | hash | hash [ :before ] , hash [ :after ] = [ ] , [ ] end end
Returns hash with arrays of before/after hooks.
Returns hash with arrays of before / after hooks .
api
None