class Symbol
Public Instance Methods
to_sender()
click to toggle source
Proxy through to built-in {#to_proc} so symbols match the {Array#to_sender} API. I guess.
@return [Proc]
Accepts one argument and sends itself to that object, returning the result.
# File lib/nrser/core_ext/symbol.rb, line 10 def to_sender; self.to_proc; end