Class: Hx::Path::Conjunction
- Inherits:
-
Object
- Object
- Hx::Path::Conjunction
- Includes:
- Connective
- Defined in:
- lib/hx/path.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Connective
Methods included from Selector
#&, #assume_circumfix, #elide_circumfix, #literal?, #|, #~
Class Method Details
Instance Method Details
#accept_path?(path) ⇒ Boolean
123 124 125 |
# File 'lib/hx/path.rb', line 123 def accept_path?(path) @selectors.all? { |s| s.accept_path? path } end |