Registry / utility / aduki
library0.2.7rbrubygemsunverified

Recursively sets attributes on Ruby objects from nested hashes.

gem install aduki
INSTALL
IMPORT
SIG · ADUKI
A
aduki
utilityrubyv0.2.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Aduki
require 'aduki'

Set nested attributes on an object from a hash.

require 'aduki' class Person attr_accessor :name, :address end person = Person.new Aduki.set_attributes(person, { name: 'Alice', address: { city: 'NYC' } }) puts person.address.city
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.7latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
26
OpenAI (training)
1
Resources
aduki — gem install aduki · libregistry