Sha256: 925816e172d82ed65b4367839c1a09bb1ee7bf76b617973c43d127a4c7a8312f
Contents?: true
Size: 1 KB
Versions: 18
Compression:
Stored size: 1 KB
Contents
module Frodo class Query class Criteria module StringFunctions # Sets up a `contains` function criterium. # @param str [to_s] # @return [self] def contains(str) set_function_and_argument(:contains, str) end # Sets up a `startswith` function criterium. # @param str [to_s] # @return [self] def startswith(str) set_function_and_argument(:startswith, str) end # Sets up a `endswith` function criterium. # @param str [to_s] # @return [self] def endswith(str) set_function_and_argument(:endswith, str) end # Applies the `tolower` function to the property. # @return [self] def tolower set_function_and_argument(:tolower, nil) end # Applies the `toupper` function to the property. # @return [self] def toupper set_function_and_argument(:toupper, nil) end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems