Skip to content

Commit

Permalink
Make constants private
Browse files Browse the repository at this point in the history
Related to #60.
  • Loading branch information
dentarg committed Dec 11, 2015
1 parent 61a165a commit b60fddc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/twingly/url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class URL
IDN::Idna::IdnaError,
]

private_constant :ACCEPTED_SCHEMES, :ENDS_WITH_SLASH, :ERRORS

class << self
def parse(potential_url)
potential_url = String(potential_url)
Expand Down

0 comments on commit b60fddc

Please sign in to comment.