Class: Symbol

Inherits:
Object show all
Defined in:
lib/nrser/core_ext/symbol.rb

Instance Method Summary collapse

Instance Method Details

#to_senderProc

Proxy through to built-in #to_proc so symbols match the Array#to_sender API. I guess.

Returns:

  • (Proc)

    Accepts one argument and sends itself to that object, returning the result.



10
# File 'lib/nrser/core_ext/symbol.rb', line 10

def to_sender; self.to_proc; end