dummy currying
def formatter ->(method, s) { s.send method } end a = 'string' a.tap &formatter.curry[:upcase!]