Class: URI::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/opal_patches.rb

Overview

Some gems instantiate URI::Parser.new directly. Return the singleton module which has the same surface area.

Class Method Summary collapse

Class Method Details

.newObject



296
297
298
# File 'lib/opal_patches.rb', line 296

def self.new(*)
  ::URI::DEFAULT_PARSER
end