Class: Hash

Inherits:
Object show all
Includes:
Iolite::Adaptor::Apply, Iolite::Adaptor::Bind, Iolite::Adaptor::Callable, Iolite::Adaptor::ToProc
Defined in:
lib/iolite/adaptored/hash.rb

Instance Method Summary collapse

Methods included from Iolite::Adaptor::Callable

#iolite_functinal_invoke_call

Methods included from Iolite::Adaptor::Apply

#apply

Methods included from Iolite::Adaptor::Bind

#bind

Methods included from Iolite::Adaptor::ToProc

#to_proc

Instance Method Details

#call(*args) ⇒ Object



9
10
11
12
13
# File 'lib/iolite/adaptored/hash.rb', line 9

def call *args
  Hash[ self.map { |key, value|
    Iolite::Functinal.invoke_a([key, value], *args)
  } ]
end