Class: Hyperactive::List::Element

Inherits:
Record::Bass show all
Defined in:
lib/hyperactive/list.rb

Overview

A List element.

Constant Summary

Constants inherited from Record::Bass

Record::Bass::HOST

Instance Attribute Summary collapse

Attributes inherited from Record::Bass

#record_id

Method Summary

Methods inherited from Record::Bass

create_hooks, #destroy, destroy_hooks, find, get_instance, index_by, reject, #save_hook, save_hooks, select, setup, transaction

Instance Attribute Details

#nextObject

Returns the value of attribute next.



33
34
35
# File 'lib/hyperactive/list.rb', line 33

def next
  @next
end

#previousObject

Returns the value of attribute previous.



33
34
35
# File 'lib/hyperactive/list.rb', line 33

def previous
  @previous
end

#valueObject

Returns the value of attribute value.



33
34
35
# File 'lib/hyperactive/list.rb', line 33

def value
  @value
end