lib/pagify/page/basic.rb in pagify-0.7.0 vs lib/pagify/page/basic.rb in pagify-0.7.1

- old
+ new

@@ -6,10 +6,10 @@ # the fetcher would be invoked that time. whenever the data # was fetched, it won't fetch again. it you need refetch, # call Page#fetch class BasicPage # prvent Page#to_a return [#<Page:0x12345>] - undef_method :to_a if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.0') + undef_method :to_a if RUBY_VERSION < '1.9.0' # pager to get the original pager; page to get the number of this page attr_reader :pager, :page # don't create a page instance yourself unless you have to