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