module AssociateJsonb::AttributeMethods

Private Instance Methods

attributes_with_info(attribute_names) click to toggle source
# File lib/associate_jsonb/attribute_methods.rb, line 13
def attributes_with_info(attribute_names)
  attribute_names.each_with_object({}) do |name, attrs|
    attrs[name] = _fetch_attribute(name)
  end
end