Registry / utility / varia-model

varia-model

JSON →
library0.6.0rbrubygemsunverified

A mixin to provide objects with magic attribute reading and writing.

gem install varia_model
INSTALL
IMPORT
SIG · VARIA-MODEL
V
varia-model
utilityrubyv0.6.0
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.

VariaModel
require 'varia_model'

Define attributes and access them via magic methods.

require 'varia_model' class MyModel include VariaModel attribute :name, :age end m = MyModel.new(name: 'Alice', age: 30) puts m.name
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
varia-model — gem install varia-model · libregistry