transproc

Transproc is a Ruby gem which provides an API for functional composition of arbitrary Proc-like objects. It introduced the left-to-right >> function composition operator, which is now considered as a potential addition to Ruby’s core.

The gem comes with a ton of built-in data transformation functions, which initially was its main purpose. It is used as the data trasformation foundation in rom-mapper and rom-changeset.

Comments are closed.

Up ↑