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:
=

instalar:
=

Versiones:

  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)

dependencias de Development (1):

hoe ~> 2.12

Propietarios:

SHA 256 checksum:

=

Total de descargas 11.104

Para esta versión 3.199

Versión publicada:

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: