module InlineSvg::TransformPipeline::Transformations
def self.lookup(transform_params)
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.lookup: (Hash transform_params) -> Array[InlineSvg::TransformPipeline::Transformations::ClassAttribute]
This signature was generated using 1 sample from 1 application.
def self.lookup(transform_params) return [] unless transform_params.any? || custom_transformations.any? transform_params_with_defaults = params_with_defaults(transform_params) all_transformations.map { |name, definition| value = transform_params_with_defaults[name] definition.fetch(:transform, no_transform).create_with_value(value) if value }.compact end