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:
=
安裝:
=
版本列表:
- 0.1.0 May 09, 2015 (9.0 KB)
Runtime 相依性套件 (1):
activesupport
>= 4.2.1