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