method
match
v3.0.0 -
Show latest stable
- Class:
ActiveRecord::DynamicScopeMatch
match(method)public
No documentation available.
# File activerecord/lib/active_record/dynamic_scope_match.rb, line 10
def self.match(method)
ds_match = self.new(method)
ds_match.scope ? ds_match : nil
end