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

installieren:
=

Versionen:

  1. 0.1.0 May 09, 2015 (9 KB)

Runtime Abhängigkeiten (1):

activesupport >= 4.2.1

Development Abhängigkeiten (5):

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

Besitzer:

Autoren:

  • Shu Fujita

SHA 256-Prüfsumme:

=

Downloads insgesamt 3.390

Für diese Version 3.390

Version veröffentlicht:

Lizenzen:

k.A.

Erforderliche Ruby-Version: >= 0

Links: