Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/riot_notifier/ext.rb

Overview

Monkeypatches

Instance Method Summary collapse

Instance Method Details

#to_procObject



4
5
6
# File 'lib/riot_notifier/ext.rb', line 4

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