Class: EacRubyUtils::BlankNotBlank
- Includes:
- Singleton
- Defined in:
- lib/eac_ruby_utils/blank_not_blank.rb
Overview
A blank string which returns false
for blank?
method.
Instance Method Summary collapse
- #blank? ⇒ Boolean
-
#initialize ⇒ BlankNotBlank
constructor
A new instance of BlankNotBlank.
Methods inherited from String
Constructor Details
#initialize ⇒ BlankNotBlank
Returns a new instance of BlankNotBlank.
11 12 13 |
# File 'lib/eac_ruby_utils/blank_not_blank.rb', line 11 def initialize super('') end |
Instance Method Details
#blank? ⇒ Boolean
15 16 17 |
# File 'lib/eac_ruby_utils/blank_not_blank.rb', line 15 def blank? false end |