def import(*args)
      first = args.first
      return import_all(first) if first.instance_of?(Module)

      opts   = args.pop
      source = opts.fetch(:from)
      rename = opts.fetch(:as) { first.to_sym }

      return import_methods(source, args) if args.count > 1
      import_method(source, first, rename)
    end
def import(*args)
      first = args.first
      return import_all(first) if first.instance_of?(Module)

      opts   = args.pop
      source = opts.fetch(:from)
      rename = opts.fetch(:as) { first.to_sym }

      return import_methods(source, args) if args.count > 1
      import_method(source, first, rename)
    end
Imports proc(s) to the collection from another module

 @private