RubyGems Navigation menu

with_default_value 0.1.0

This method provides method 'with_default_value' to objects. When this method is called, the method checkes instance by 'blank?' (defined by ActiveSupport, not 'nil?'). If the instance is evaluated as blank, returns default value.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.1.0 - May 09, 2015 (9 ko)

Dépendances de Runtime (1):

activesupport >= 4.2.1

Dépendances de Development (5):

bundler ~> 1.9
capistrano >= 0
deplo >= 0.1.4
rake ~> 10.0
rspec >= 0

Propriétaires:

Auteurs:

  • Shu Fujita

Total de contrôle SHA 256:

f15e144b8edc378c79962345d4143d4d3b65aed04344afc66ee78cf357ff74d7

Total de téléchargements 3 224

Pour cette version 3 224

License:

aucune

Version de Ruby requise: >= 0

Liens: