Module: Morphix

Defined in:
lib/morphix.rb,
lib/morphix/version.rb,
lib/morphix/transformer.rb

Overview

Morphix provides a concise, expressive DSL for elegantly reshaping and transforming Ruby hashes and JSON structures. It offers a fluent interface for data transformation with support for nested structures, collections, and complex transformations.

Defined Under Namespace

Classes: Error, Transformer

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.defineTransformer

Defines a new transformer with the given block

Returns:



15
16
17
# File 'lib/morphix.rb', line 15

def define(&)
  Transformer.new(&)
end