Class: Librails::SortItem
- Inherits:
-
Object
- Object
- Librails::SortItem
- Defined in:
- lib/librails/model_utils.rb
Overview
Model related utilities
Instance Attribute Summary collapse
-
#array_index ⇒ Object
Returns the value of attribute array_index.
-
#id ⇒ Object
Returns the value of attribute id.
-
#item ⇒ Object
Returns the value of attribute item.
Instance Attribute Details
#array_index ⇒ Object
Returns the value of attribute array_index.
5 6 7 |
# File 'lib/librails/model_utils.rb', line 5 def array_index @array_index end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/librails/model_utils.rb', line 5 def id @id end |
#item ⇒ Object
Returns the value of attribute item.
4 5 6 |
# File 'lib/librails/model_utils.rb', line 4 def item @item end |