Registry / utility / morph
library0.6.0rbrubygemsunverified

Morph allows you to emerge Ruby class definitions from data or by calling assignment methods.

gem install morph
INSTALL
IMPORT
SIG · MORPH
M
morph
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.

Morph
require 'morph'

Create a class dynamically from a hash.

require 'morph' klass = Morph.from(name: 'John', age: 30) obj = klass.new puts obj.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
4 hits · last 30 days
node
4
Resources
morph — gem install morph · libregistry