RubyGems.org

safer

0.3.0

Safer is an umbrella library, with components designed to make it simple to verify and improve the safety of your ruby code. There are at present three modules under the safer umbrella: [<tt>Safer::IVar</tt>] generates specially-named accessor functions for class instance variables. [<tt>Safer::Protocol</tt>] is used to provide a ruby analogue to Objective-C Protocols (which are similar to Java interfaces, but do not require inheritance). [<tt>Safer::HashProtocol</tt>] verifies that a Hash keys follow a defined format. Intended to help use of Hash objects as keyword parameters.

installgem install safer -v 0.3.0
Authors

Aidan Cully

6,813 total downloads 1,016 for this version
Owners

Db886097605ad666185b2bed8952ecc4

Gemfile
gem 'safer', '~> 0.3.0'
Versions
  1. 0.4.1 October 29, 2011 (18 KB)
  2. 0.4.0 October 29, 2011 (15 KB)
  3. 0.3.1 November 21, 2010 (16.5 KB)
  4. 0.3.0 November 20, 2010 (16.5 KB)
  5. 0.2.1 October 17, 2010 (13 KB)
Show all versions (7 total)
Development Dependencies
  1. hoe >= 2.6.2
  2. rubyforge >= 2.0.4