f796ba669a3860a06826a5b875431f992e96364e
2 class DynamicScopeMatch
4 ds_match
= self.new(method
)
5 ds_match
.scope
? ds_match
: nil
11 when /^scoped_by_([_a-zA-Z]\w*)$/
16 @attribute_names = names
&& names
.split('_and_')
19 attr_reader
:scope, :attribute_names