Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/raspy.rb
Instance Method Summary collapse
Instance Method Details
#prefetch(args) ⇒ Object
18 19 20 21 22 |
# File 'lib/raspy.rb', line 18 def prefetch(args) return if args.keys.length == 0 raise Raspy::Error.new("Cannot run prefetch on a non-uniform list") unless self.map(&:class).uniq.length == 1 end |