Method: Transproc::Store.fetch

Defined in:
lib/transproc/store.rb

.fetch(key) ⇒ Proc

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a procedure by its key in the collection

Parameters:

  • key (Symbol)

Returns:

  • (Proc)


35
36
37
# File 'lib/transproc/store.rb', line 35

def fetch(key)
  methods.fetch(key.to_sym)
end