Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 621 Bytes

README.md

File metadata and controls

38 lines (22 loc) · 621 Bytes

URI-Redis v1.2 (2024-05-20)

Creates a URI object for Redis URLs.

e.g.

redis://host:port/dbindex

Usage

    require 'uri/redis'

    conf = URI.parse 'redis://localhost:4380/2'
    conf.host                 # => localhost
    conf.port                 # => 4380
    conf.db                   # => 2
    conf.to_s                 # => redis://localhost:4380/2
    conf

Installation

Get it in one of the following ways:

  • gem install uri-redis
  • git clone git+ssh://github.com/delano/uri-redis.git

About

License

See LICENSE.txt