Hacker News new | ask | show | jobs
by stevebmark 3131 days ago

    pp_proc = self.method("pretty_print_me").to_proc
Exactly :(
1 comments

I 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