Class: EacRubyUtils::BlankNotBlank

Inherits:
String show all
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

Methods inherited from String

#delimited, #variableize

Constructor Details

#initializeBlankNotBlank

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

Returns:



15
16
17
# File 'lib/eac_ruby_utils/blank_not_blank.rb', line 15

def blank?
  false
end