lib/page_up/fragment.rb in page_up-0.0.10 vs lib/page_up/fragment.rb in page_up-0.0.11
- old
+ new
@@ -20,9 +20,13 @@
end
end
@fragment[range].compact
end
+ def to_a
+ self[0..@size].to_a
+ end
+
def use &block
@callback = block
end
private