Top Level Namespace
Defined in:
Macro Summary
-
alias_method(from, to, nodoc = true)
Duplicate a method under a different name.
Macro Detail
macro alias_method(from, to, nodoc = true)
#
Duplicate a method under a different name.
Yes, I know that aliasing methods is considered "bad practice" in Crystal, but as I am trying to replicate the Octokit Ruby API as closely as possible (minus a few improvements) I figured I could make an exception here.