Registry / utility / hashmake

hashmake

JSON →
library0.2.1rbrubygemsunverified

Make hash-based object initialization easy by providing a hash_make method that considers parameter name, type, default value, validation, and required status.

gem install hashmake
INSTALL
IMPORT
SIG · HASHMAKE
H
hashmake
utilityrubyv0.2.1
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.

HashMake
require 'hashmake'

Define and use hash-based initialization

require 'hashmake' class MyClass include HashMake hash_make :name, type: String, required: true end obj = MyClass.new(name: 'test')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hashmake — gem install hashmake · libregistry