class ActiveSupport::HashWithIndifferentAccess
def initialize(constructor = nil)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (?Hash constructor) -> void
This signature was generated using 1 sample from 1 application.
def initialize(constructor = nil) if constructor.respond_to?(:to_hash) super() update(constructor) hash = constructor.is_a?(Hash) ? constructor : constructor.to_hash self.default = hash.default if hash.default self.default_proc = hash.default_proc if hash.default_proc elsif constructor.nil? super() else super(constructor) end end