module Zeitwerk::Internal

This is a private module.

Public Instance Methods

internal(method_name) click to toggle source

: (Symbol) -> void

# File lib/zeitwerk/internal.rb, line 6
def internal(method_name)
  private method_name

  mangled = "__#{method_name}"
  alias_method mangled, method_name
  public mangled
end