Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 330 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 330 Bytes

About_Pos

Loop through an array and keep track of previous, next item, current item, etc

Installation

gem 'about_pos'

Usage

No coming any time soon.

The Essence of the Implementation

  • meta.next, meta.prev.
  • saving data ([], []=) and keep sure the data is carried over to the other items.