class Parelation::Criteria::Select
Constants
- SELECT_FORMAT
@return [Regexp] the select format.
Public Class Methods
match?(param)
click to toggle source
@param param [String] @return [TrueClass, FalseClass]
# File lib/parelation/criteria/select.rb, line 10 def self.match?(param) !!param.match(SELECT_FORMAT) end
Public Instance Methods
call()
click to toggle source
@return [ActiveRecord::Relation]
# File lib/parelation/criteria/select.rb, line 16 def call chain.select(*value) end