Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Use alias method instead of define_method#1

Merged
lluzak merged 1 commit intolluzak:masterfrom
LTe:alias_method
Mar 17, 2014
Merged

Use alias method instead of define_method#1
lluzak merged 1 commit intolluzak:masterfrom
LTe:alias_method

Conversation

@LTe
Copy link
Copy Markdown
Collaborator

@LTe LTe commented Mar 17, 2014

Implementation with alias_method is simples and create copy of method in
memory. In this way we skip delegation part. Implementation is also a
simpler.

Implementation with alias_method is simples and create copy of method in
memory. In this way we skip delegation part. Implementation is also a
simpler.
lluzak added a commit that referenced this pull request Mar 17, 2014
Use alias method instead of define_method
@lluzak lluzak merged commit 2704427 into lluzak:master Mar 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants