Class: Hash::HashProc

Inherits:
Proc
  • Object
show all
Defined in:
lib/functional_support/core_ext/hash.rb

Instance Method Summary collapse

Methods inherited from Proc

#<<, #>>, compose

Instance Method Details

#to(key) ⇒ Object



4
5
6
# File 'lib/functional_support/core_ext/hash.rb', line 4

def to(key)
  call key
end