Registry / utility / declarative

declarative

JSON →
library0.0.20rbrubygemsunverified

DSL for nested generic schemas with inheritance and refining.

gem install declarative
INSTALL
IMPORT
SIG · DECLARATIVE
D
declarative
utilityrubyv0.0.20
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.

Declarative
require 'declarative'

Define a schema with properties using Declarative DSL

require 'declarative' class MySchema extend Declarative::Schema property :name property :email end schema = MySchema.new schema.name = 'John' schema.email = 'john@example.com'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.20latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
declarative — gem install declarative · libregistry