New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dictionary

Package Overview
Dependencies
Maintainers
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dictionary

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
6
Created
Source

= Dictionary

  • http://death.rubyforge.org
  • http://death.rubyforge.org/dictionary

== DESCRIPTION

The Dictionary class is a type of ordered Hash, which keeps it's contents in a customizable order.

== FEATURES/ISSUES

  • Order is customizable.
  • Compatable with Hash API.

== RELEASE NOTES

Please see RELEASE file.

== SYNOPSIS

require 'dictionary'

dict = Dictionary.new dict['z'] = 1 dict['y'] = 2 dict['x'] = 3

dict.order_by{ |k,v| k }

dict.keys #=> ['x', 'y', 'z'] dict.values #=> [3, 2, 1]

== HOW TO INSTALL

To install with RubyGems simply open a console and type:

gem install dictionary

Local installation requires Setup.rb (gem install setup), then download the tarball package and type:

tar -xvzf dictionary-1.0.0.tgz cd dictionary-1.0.0.tgz sudo setup.rb all

Windows users use 'ruby setup.rb all'.

== LICENSE

Copyright (c) 2005 Jan Molic

This program is ditributed unser the terms of the LGPL license.

See LICENSE file for details.

FAQs

Package last updated on 05 Aug 2009

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc