Skip to content

Commit

Permalink
Delete AS::Dependencies.uninitialized_constant
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Aug 18, 2021
1 parent bc2cd69 commit bde4b04
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions activesupport/lib/active_support/dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ def to_constant_name(desc) # :nodoc:
end

private
def uninitialized_constant(qualified_name, const_name, receiver:)
NameError.new("uninitialized constant #{qualified_name}", const_name, receiver: receiver)
end

# Returns the original name of a class or module even if `name` has been
# overridden.
def real_mod_name(mod)
Expand Down

0 comments on commit bde4b04

Please sign in to comment.