Sha256: 8f214a47bd1f70ca158226e56651113bd434cad70ca808757570c64f686836f1

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

class CollectionsPage < UnderOs::Page
  def initialize
    @collection = first('collection')
    @collection.number_of_items  = 1000
    @collection.on :item do |item, index|
      item.children[0].text = "##{index + 1}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
under-os-1.0.0 app/pages/collections_page.rb