{"id":82161,"library":"coerce","title":"Coerce","description":"Coerce provides type coercion utilities for Ruby.","status":"active","version":"0.0.8","language":"ruby","source_language":null,"source_url":"https://github.com/ahoward/coerce","tags":["type","coercion","conversion"],"install":[{"cmd":"gem install coerce","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'coerce', '~> 0.0.8'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Coerce","correct":"require 'coerce'"}],"quickstart":{"code":"require 'coerce'\n\nresult = Coerce.to_integer('42')\nputs result  # => 42","lang":"ruby","description":"Coerce a string to an integer"},"warnings":[],"env_vars":null,"search_vec":"'coerc':1,2 'coercion':5,10 'convers':11 'provid':3 'rubi':8 'type':4,9 'util':6","created_at":"2026-06-19T05:12:58.715885+00:00","updated_at":"2026-06-19T05:12:58.715885+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ahoward/coerce","github":"https://github.com/ahoward/coerce","docs":"http://www.rubydoc.info/gems/coerce/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}