Skip to content

Commit

Permalink
Merge pull request #1 from deivid-rodriguez/relative_require
Browse files Browse the repository at this point in the history
Prefer `require_relative` for loading internal code
  • Loading branch information
hsbt authored Dec 6, 2019
2 parents c86081f + cbecefb commit b309c53
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/uri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@
module URI
end

require 'uri/version'
require 'uri/common'
require 'uri/generic'
require 'uri/file'
require 'uri/ftp'
require 'uri/http'
require 'uri/https'
require 'uri/ldap'
require 'uri/ldaps'
require 'uri/mailto'
require_relative 'uri/version'
require_relative 'uri/common'
require_relative 'uri/generic'
require_relative 'uri/file'
require_relative 'uri/ftp'
require_relative 'uri/http'
require_relative 'uri/https'
require_relative 'uri/ldap'
require_relative 'uri/ldaps'
require_relative 'uri/mailto'

0 comments on commit b309c53

Please sign in to comment.