Class: YFantasy::Transformations::GroupTransformer

Inherits:
BaseTransform
  • Object
show all
Defined in:
lib/y_fantasy/transformations/group_transformer.rb

Instance Method Summary collapse

Methods inherited from BaseTransform

#>>, #[], #call, #ensure_function_set, #t

Constructor Details

#initialize(nested: false) ⇒ GroupTransformer

Returns a new instance of GroupTransformer.



6
7
8
9
10
# File 'lib/y_fantasy/transformations/group_transformer.rb', line 6

def initialize(nested: false)
  @nested = nested
  @function = compose_function
  super
end