Registry / utility / adamantium

adamantium

JSON →
library0.2.0rbrubygemsunverified

Provides immutable extensions to Ruby objects.

gem install adamantium
INSTALL
IMPORT
SIG · ADAMANTIUM
A
adamantium
utilityrubyv0.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.

Adamantium
require 'adamantium'

Make an object's attributes immutable by including Adamantium.

require 'adamantium' class Person include Adamantium attr_reader :name def initialize(name) @name = name end end person = Person.new('Alice') puts person.name.frozen? # true
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
30
Meta
1
OpenAI (training)
1
Resources
adamantium — gem install adamantium · libregistry