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) -> untyped 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 | name | String | owner_id | Integer | personal | FalseClass | created_at | Time | updated_at | Time | extra_billing_info | NilClass | domain | NilClass | subdomain | NilClass | billing_email | NilClass | account_users_count | Integer values, ? additional_types) -> untyped
This signature was generated using 1 sample 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