-
-
Save theotherstupidguy/772d78d5201566f7f550 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def some_method | |
self.class.send(:define_method, construct, proc do |title| | |
$logger.info "store rule: #{title}" | |
self.instance_exec | |
end) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment