Class: Reactive::MetaModel::Instance

Inherits:
Object
  • Object
show all
Defined in:
lib/reactive-core/meta_model.rb

Instance Method Summary collapse

Instance Method Details

#changed?Boolean

Returns:

  • (Boolean)


7
8
# File 'lib/reactive-core/meta_model.rb', line 7

def changed?
end

#errorsObject

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_destructionObject



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 ???

Returns:

  • (Boolean)


15
16
# File 'lib/reactive-core/meta_model.rb', line 15

def marked_for_destruction?
end

#new_record?Boolean

Returns:

  • (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

Returns:

  • (Boolean)


20
21
# File 'lib/reactive-core/meta_model.rb', line 20

def valid?
end