lib/beatport/collection.rb in beatport-0.1.8 vs lib/beatport/collection.rb in beatport-0.1.9
- old
+ new
@@ -3,10 +3,10 @@
module Beatport
class Collection
include Enumerable
extend Forwardable
- def_delegators :@results, :each, :'<=>', :length, :==, :===, :to_a
+ def_delegators :@results, :each, :'<=>', :length, :==, :===, :[], :to_a
attr_reader :host, :path, :query, :next_query
attr_reader :per_page_options, :page, :per_page, :total_pages, :count
attr_reader :facets, :applied_facets, :spellcheck
attr_reader :date_filters, :applied_date_filters
\ No newline at end of file