vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/zone_reader.rb
#  Takes a filename string, or any type of IO object, and attempts to load a zone.
#  Returns a list of RRs if successful, nil otherwise.
Takes a filename string, or any type of IO object, and attempts to load a zone.
Returns a list of RRs if successful, nil otherwise.
Takes a filename string or any type of IO object and attempts to load a zone . Returns a list of RRs if successful nil otherwise .
def process_file(source)
      if source.is_a?(String)
        File.open(source) do |file|
          process_io(file)
        end
      else
        process_io(source)
      end
    end
def process_file ( source ) if source . is_a? ( String ) File . open ( source ) do | file | process_io ( file ) end else process_io ( source ) end end
Takes a filename string, or any type of IO object, and attempts to load a zone.
Takes a filename string or any type of IO object and attempts to load a zone .
source
<not_specific>