Class: Librails::SortItem

Inherits:
Object
  • Object
show all
Defined in:
lib/librails/model_utils.rb

Overview

Model related utilities

Instance Attribute Summary collapse

Instance Attribute Details

#array_indexObject

Returns the value of attribute array_index.



5
6
7
# File 'lib/librails/model_utils.rb', line 5

def array_index
  @array_index
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/librails/model_utils.rb', line 5

def id
  @id
end

#itemObject

Returns the value of attribute item.



4
5
6
# File 'lib/librails/model_utils.rb', line 4

def item
  @item
end