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

安装:
=

版本列表:

  1. 0.1.0 May 09, 2015 (9.0 KB)

Runtime 依赖 (1):

activesupport >= 4.2.1

Development 依赖 (5):

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

所有者:

作者:

  • Shu Fujita

SHA 256 校验和:

=

下载总量 3,393

这个版本 3,393

版本发布:

许可:

需要的 Ruby 版本: >= 0

链接: