Flowdock

Notes posted by shuber

RSS feed
August 20, 2009
4 thanks

Symbol#to_proc

@tadman - or simply defining:

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