module ActiveRecord::Suppressor

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

# sig/active_record/suppressor.rbs

module ActiveRecord::Suppressor
  def registry: () -> untyped
end

def registry # :nodoc:

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

def registry: () -> untyped

This signature was generated using 3 samples from 1 application.

:nodoc:
def registry # :nodoc:
  ActiveSupport::IsolatedExecutionState[:active_record_suppresor_registry] ||= {}
end

def save(**) # :nodoc:

:nodoc:
def save(**) # :nodoc:
  Suppressor.registry[self.class.name] ? true : super
end

def save!(**) # :nodoc:

:nodoc:
def save!(**) # :nodoc:
  Suppressor.registry[self.class.name] ? true : super
end