Class: Hx::Path::Disjunction
- Inherits:
-
Object
- Object
- Hx::Path::Disjunction
- 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
136 137 138 |
# File 'lib/hx/path.rb', line 136 def accept_path?(path) @selectors.any? { |s| s.accept_path? path } end |