You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

multimap

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multimap

1.1.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

= Multimap

A Ruby multimap implementation that also includes multiset and nested multimap implementations.

== Example

require 'multimap'

map = Multimap.new map["a"] = 100 map["b"] = 200 map["a"] = 300

map["a"] # -> [100, 300] map["b"] # -> [200] map.keys # -> #<Multiset: {"a", "a", "b"}>

FAQs

Package last updated on 13 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts