Class: Ro::Model::List
- Inherits:
-
Array
- Object
- Array
- Ro::Model::List
show all
- Includes:
- Pagination
- Defined in:
- lib/ro/model.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Pagination
#current_page, #num_pages, #num_pages=, #page, #page=, #paginate, #per, #per=, #total_pages
Class Method Details
.for(*args, &block) ⇒ Object
93
94
95
|
# File 'lib/ro/model.rb', line 93
def List.for(*args, &block)
new(*args, &block)
end
|
Instance Method Details
#detect(*args, &block) ⇒ Object
101
102
103
|
# File 'lib/ro/model.rb', line 101
def detect(*args, &block)
super
end
|
#select(*args, &block) ⇒ Object
97
98
99
|
# File 'lib/ro/model.rb', line 97
def select(*args, &block)
List.for super
end
|