Class: ParamsReady::Extensions::Undefined
- Inherits:
-
Object
- Object
- ParamsReady::Extensions::Undefined
- Defined in:
- lib/params_ready/extensions/undefined.rb
Class Method Summary collapse
Class Method Details
.blank? ⇒ Boolean
12 13 14 |
# File 'lib/params_ready/extensions/undefined.rb', line 12 def self.blank? true end |
.dup ⇒ Object
4 5 6 |
# File 'lib/params_ready/extensions/undefined.rb', line 4 def self.dup self end |
.present? ⇒ Boolean
8 9 10 |
# File 'lib/params_ready/extensions/undefined.rb', line 8 def self.present? false end |
.value_indefinite?(value) ⇒ Boolean
16 17 18 |
# File 'lib/params_ready/extensions/undefined.rb', line 16 def self.value_indefinite?(value) value == self || value.nil? end |