Class: Reactive::MetaModel::Instance
- Defined in:
- lib/reactive-core/meta_model.rb
Instance Method Summary collapse
- #changed? ⇒ Boolean
-
#errors ⇒ Object
Returns an array of error object.
- #mark_for_destruction ⇒ Object
-
#marked_for_destruction? ⇒ Boolean
Determine if this record is marked for destruction.
- #new_record? ⇒ Boolean
-
#valid? ⇒ Boolean
Determine validness of the record.
Instance Method Details
#changed? ⇒ Boolean
7 8 |
# File 'lib/reactive-core/meta_model.rb', line 7 def changed? end |
#errors ⇒ Object
Returns an array of error object. Empty array when valid.
24 25 |
# File 'lib/reactive-core/meta_model.rb', line 24 def errors end |
#mark_for_destruction ⇒ Object
10 11 |
# File 'lib/reactive-core/meta_model.rb', line 10 def mark_for_destruction end |
#marked_for_destruction? ⇒ Boolean
Determine if this record is marked for destruction. Destruction will occur ???
15 16 |
# File 'lib/reactive-core/meta_model.rb', line 15 def marked_for_destruction? end |
#new_record? ⇒ Boolean
4 5 |
# File 'lib/reactive-core/meta_model.rb', line 4 def new_record? end |
#valid? ⇒ Boolean
Determine validness of the record. Note that it triggers the validations
20 21 |
# File 'lib/reactive-core/meta_model.rb', line 20 def valid? end |