Registry / utility / coerce

coerce

JSON →
library0.0.8rbrubygemsunverified

Coerce provides type coercion utilities for Ruby.

gem install coerce
INSTALL
IMPORT
SIG · COERCE
C
coerce
utilityrubyv0.0.8
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.

Coerce
require 'coerce'

Coerce a string to an integer

require 'coerce' result = Coerce.to_integer('42') puts result # => 42
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

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