module Bio::Fetch

Public Class Methods

new_with_old_biofetch_emulator(*arg) click to toggle source
# File lib/bio-old-biofetch-emulator/emulator.rb, line 390
def new_with_old_biofetch_emulator(*arg)
  tmp = self.ancestors
  if (tmp - DONT_OVERRIDE).size == tmp.size then
    #$stderr.puts self
    case arg.size
    when 0
      return Client.new
    when 1
      case arg[0]
      when URL
        return Client.new(*arg)
      end
    end
  end
  new_without_old_biofetch_emulator(*arg)
end
Also aliased as: new
new_without_old_biofetch_emulator(*arg)
Alias for: new