Public Instance methods
where(name, *args, &block)
Also create a method that returns the conditions the filter uses.
[show source]
# File lib/sequel/plugins/subset_conditions.rb 39 def where(name, *args, &block) 40 super 41 cond = args 42 cond = cond.first if cond.size == 1 43 define_method(:"#{name}_conditions"){filter_expr(cond, &block)} 44 end