Method: Machinery::ElementFilter#filters_scope?
- Defined in:
- lib/element_filter.rb
#filters_scope?(scope) ⇒ Boolean
83 84 85 |
# File 'lib/element_filter.rb', line 83 def filters_scope?(scope) (path =~ /\/#{scope}(\/|$)/) ? true : false end |