class Enzymator::Transformations::Foldable::Reduction

Protected Instance Methods

interpreted(config) click to toggle source
# File lib/enzymator/transformations/foldable/reduction.rb, line 12
def interpreted(config)
  config.merge({
    append: config[:append] || config[:reduction] || :mappend,
    empty:  config[:empty]  || config[:initial]   || :mempty
  })
end
transformer_class() click to toggle source
# File lib/enzymator/transformations/foldable/reduction.rb, line 8
def transformer_class
  Enzymator::Transformers::Foldable::SimpleReducer
end