Flowdock

Good notes posted by shuber

RSS feed
August 20, 2009
3 thanks

Symbol#to_proc

@tadman - or simply defining:

class Symbol
  def to_proc
    proc { |obj, *args| obj.send(self, *args) }
  end
end