Sha256: 21930bd8756848bb48401b80a653762b3cec110ff9d60a1ca39681eb6a5714bc
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
class Parelation::Criteria::Offset < Parelation::Criteria # @return [Regexp] the offset format. # OFFSET_FORMAT = /^offset$/ # @param param [String] # @return [TrueClass, FalseClass] # def self.match?(param) !!param.match(OFFSET_FORMAT) end # @return [ActiveRecord::Relation] # def call chain.offset(value) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
parelation-1.0.0 | lib/parelation/criteria/offset.rb |
parelation-0.2.0 | lib/parelation/criteria/offset.rb |