RubyGems Navigation menu

platform_helpers 0.1.0

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.3 - October 24, 2011 (8 KB)
  2. 0.1.2 - October 02, 2011 (8 KB)
  3. 0.1.0 - August 22, 2011 (8 KB)

Development Dependencies (1):

hoe ~> 2.12

Owners:

SHA 256 checksum:

7340db77e71d2f6a604b56190e0b4c2b1e1881c636c0e7c711a05c8ed958053b

Total downloads 10,805

For this version 3,113

Licenses:

N/A

Required Ruby Version: None

Links: