Class: Datacaster::Absent
- Inherits:
-
Object
- Object
- Datacaster::Absent
- Includes:
- Singleton
- Defined in:
- lib/datacaster/absent.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
23 24 25 |
# File 'lib/datacaster/absent.rb', line 23 def ==(other) other.is_a?(self.class) end |
#blank? ⇒ Boolean
7 8 9 |
# File 'lib/datacaster/absent.rb', line 7 def blank? true end |
#inspect ⇒ Object
11 12 13 |
# File 'lib/datacaster/absent.rb', line 11 def inspect "#<Datacaster.absent>" end |
#present? ⇒ Boolean
19 20 21 |
# File 'lib/datacaster/absent.rb', line 19 def present? false end |
#to_s ⇒ Object
15 16 17 |
# File 'lib/datacaster/absent.rb', line 15 def to_s "" end |