Class: Maintain::Backend::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/maintain/backend/base.rb

Direct Known Subclasses

ActiveRecord, DataMapper

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#maintainerObject (readonly)

Returns the value of attribute maintainer.



4
5
6
# File 'lib/maintain/backend/base.rb', line 4

def maintainer
  @maintainer
end

Instance Method Details

#aggregate(maintainee, attribute, name, options, states) ⇒ Object



6
7
8
# File 'lib/maintain/backend/base.rb', line 6

def aggregate(maintainee, attribute, name, options, states)
  require_method :aggregate
end

#read(instance, attribute) ⇒ Object



10
11
12
# File 'lib/maintain/backend/base.rb', line 10

def read(instance, attribute)
  require_method :read
end

#write(instance, attribute, value) ⇒ Object



14
15
16
# File 'lib/maintain/backend/base.rb', line 14

def write(instance, attribute, value)
  require_method :write
end