Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/sailpoint/core_ext/blank.rb,
lib/sailpoint/core_ext/escape_str.rb
Instance Method Summary collapse
- #blank? ⇒ Boolean
-
#escape_str ⇒ String
In case anything other than a string is called with escape_str.
- #present? ⇒ Boolean
Instance Method Details
#blank? ⇒ Boolean
5 6 7 |
# File 'lib/sailpoint/core_ext/blank.rb', line 5 def blank? respond_to?(:empty?) ? !!empty? : !self end |
#escape_str ⇒ String
In case anything other than a string is called with escape_str
8 9 10 |
# File 'lib/sailpoint/core_ext/escape_str.rb', line 8 def escape_str '' end |
#present? ⇒ Boolean
9 10 11 |
# File 'lib/sailpoint/core_ext/blank.rb', line 9 def present? !blank? end |