Registry / utility / active-attr

active-attr

JSON →
library0.17.2rbrubygemsunverified

Create plain old Ruby models without reinventing the wheel.

gem install active_attr
INSTALL
IMPORT
SIG · ACTIVE-ATTR
A
active-attr
utilityrubyv0.17.2
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.

ActiveAttr
require 'active_attr'

Define a model with attributes

require 'active_attr' class Person include ActiveAttr::Model attribute :name attribute :age end person = Person.new(name: 'Alice', age: 30) puts person.name
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.17.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
46 hits · last 30 days
node
40
OpenAI (training)
1
Resources
active-attr — gem install active-attr · libregistry