class ActiveModel::AttributeSet::Builder

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

# sig/active_model/attribute_set/builder.rbs

class ActiveModel::AttributeSet::Builder
  def build_from_database: (?Hash values, ?Hash additional_types) -> ActiveModel::LazyAttributeSet
end

:nodoc:
:nodoc:

def build_from_database(values = {}, additional_types = {})

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

def build_from_database: (?(id | Integer | gem_name | String | gem_version | String | receiver | String | method_name | String | location | String | type_fusion_version | String | application_name | String | source_ip | String | parameters | String | created_at | Time | updated_at | Time | return_value | NilClass | id | Integer | gem_name | String | gem_version | String | receiver | String | method_name | String | location | String | type_fusion_version | String | application_name | String | source_ip | String | parameters | String | created_at | Time | updated_at | Time | return_value | String) values, ?0 | ActiveModel::Type::Integer | 1 | ActiveModel::Type::String | 2 | ActiveModel::Type::String | 3 | ActiveModel::Type::String | 4 | ActiveModel::Type::String | 5 | ActiveModel::Type::String | 6 | ActiveModel::Type::String | 7 | ActiveModel::Type::String | 8 | ActiveModel::Type::String | 9 | ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Jsonb | 10 | ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp | 11 | ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp | 12 | ActiveModel::Type::String additional_types) -> ActiveModel::LazyAttributeSet

This signature was generated using 2 samples from 1 application.

def build_from_database(values = {}, additional_types = {})
  LazyAttributeSet.new(values, types, additional_types, default_attributes)
end

def initialize(types, default_attributes = {})

def initialize(types, default_attributes = {})
  @types = types
  @default_attributes = default_attributes
end