module FactoryBot
def self.aliases_for(attribute)
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.aliases_for: (Symbol attribute) -> untyped
This signature was generated using 156 samples from 3 applications.
def self.aliases_for(attribute) aliases.map { |(pattern, replace)| if pattern.match?(attribute) attribute.to_s.sub(pattern, replace).to_sym end }.compact << attribute end