Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/babygitter/addendums/ruby_addendum.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject

Adding back in (&:attribute) method to map.



4
5
6
# File 'lib/babygitter/addendums/ruby_addendum.rb', line 4

def to_proc
  lambda {|i| i.send(self)}
end