RubyGems Navigation menu

platform_helpers 0.1.3

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

Versões:

  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

Donos:

SHA 256 checksum:

=

Total de downloads 11.104

Desta versão 4.602

Versão lançada:

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: