method

slice

slice(*methods)
public

Returns a hash of the given methods with their names as keys and returned values as values.