Registry / utility / ph-model

ph-model

JSON →
library1.2.0rbrubygemsunverified

Because why do less if you can do more with non db models.

gem install ph_model
INSTALL
IMPORT
SIG · PH-MODEL
P
ph-model
utilityrubyv1.2.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.

PhModel
require 'ph_model'

Create a non-database-backed model with typed attributes.

require 'ph_model' class Product < PhModel attribute :name, :string attribute :price, :decimal end product = Product.new(name: 'Widget', price: 9.99)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ph-model — gem install ph-model · libregistry