Sha256: cd30c1c4a9ed386a5e591e9d4c67d119aa1fa902379779ee0193b58b12ffa7e0
Contents?: true
Size: 378 Bytes
Versions: 62
Compression:
Stored size: 378 Bytes
Contents
module Workarea module Admin class BulkActionSequentialProductEditViewModel < ApplicationViewModel def first? index.zero? end def last? index == model.count - 1 end def next index + 1 end def previous index - 1 end def index options[:index].to_i end end end end
Version data entries
62 entries across 62 versions & 1 rubygems