module InlineSvg::TransformPipeline::Transformations

def self.magnify_priorities(transforms)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.magnify_priorities: (Hash transforms) -> Hash

This signature was generated using 1 sample from 1 application.

def self.magnify_priorities(transforms)
  transforms.inject({}) do |output, (name, definition)|
    priority = definition.fetch(:priority, built_in_transformations.size)
    output[name] = definition.merge( { priority: magnify(priority) } )
    output
  end
end