RubyGems.org

Override's some Ruby classes to add methods making for uniform calls. For example, :to_bool is common to Nil, nil, TrueClass, FalseClass, String, Float, Date, ActiveRecord::Associations::HasOneAssociation and ActiveRecord::Associations::HasManyAssociation. There are a few compatibility features bridging the gaps between ruby1.8 and ruby1.9 as well. With the modification of String to Enumerable in ruby1.9, methods have been added so that you can grep and itterate over each line, in all ruby versions. Code is self explanatory, for other aspects.

installgem install platform_helpers
3,138 total downloads 1,157 for this version
Owners

Dab3318aa1bba4578187ce8da33b2524

Gemfile
gem 'platform_helpers', '~> 0.1.3'
Versions
  1. 0.1.3 October 24, 2011 (8 KB)
  2. 0.1.2 October 2, 2011 (8 KB)
  3. 0.1.0 August 22, 2011 (8 KB)
Development Dependencies
  1. hoe ~> 2.12