Class: Cachext::MissingRecord
- Inherits:
-
Struct
- Object
- Struct
- Cachext::MissingRecord
- Defined in:
- lib/cachext/missing_record.rb,
lib/cachext/missing_record.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/cachext/missing_record.rb', line 2 def id @id end |
Instance Method Details
#missing? ⇒ Boolean
4 5 6 |
# File 'lib/cachext/missing_record.rb', line 4 def missing? true end |
#present? ⇒ Boolean
8 9 10 |
# File 'lib/cachext/missing_record.rb', line 8 def present? false end |