3 ms·
pp_proc = self.method("pretty_print_me").to_proc Exactly :(
by stevebmark 9y ago
pp_proc = self.method("pretty_print_me").to_proc
Exactly :(
- mrgordon 9y agoI did say it was a forced example ;) Even assuming you implemented it their way, their code isn't very concise. In the snippet you pasted, "self.method" could be replaced with "method" for example without changing anything