Class: Io::Array

Inherits:
Object
  • Object
show all
Extended by:
Core::Io::Collection
Defined in:
app/api/io/array.rb

Overview

Provides tools for paginating Array objects

Class Method Summary collapse

Class Method Details

.size_for(collection) ⇒ Object


5
6
7
# File 'app/api/io/array.rb', line 5

def self.size_for(collection)
  collection.size
end