lib/parelation/criteria.rb in parelation-0.0.1 vs lib/parelation/criteria.rb in parelation-0.1.0
- old
+ new
@@ -1,6 +1,6 @@
-module Parelation::Criteria
+class Parelation::Criteria
# @return [ActiveRecord::Relation] the current criteria chain
#
attr_reader :chain
@@ -12,10 +12,10 @@
#
attr_reader :value
# @param chain [ActiveRecord::Relation]
# @param param [String]
- # @param value [String, Symbol, Array, Hash]
+ # @param value [String, Array, Hash]
#
def initialize(chain, param, value)
@chain = chain
@param = param.clone
@value = value.clone