Sha256: d4163fa5b8de23c19bc8e75d2a73a171beadcab9518ba50af1f1fdb93fd49d99
Contents?: true
Size: 314 Bytes
Versions: 21
Compression:
Stored size: 314 Bytes
Contents
class Pagy class VariableError < ArgumentError attr_reader :pagy def initialize(pagy) @pagy = pagy end def variable message =~ /expected :([\w]+)/ $1.to_sym if $1 end def value pagy.vars[variable] end end class OverflowError < VariableError; end end
Version data entries
21 entries across 21 versions & 1 rubygems