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



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

def self.size_for(collection)
  collection.size
end