Class: Ldpath::CompoundSelector
- Defined in:
- lib/ldpath/selectors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left, right) ⇒ CompoundSelector
constructor
A new instance of CompoundSelector.
Methods inherited from Selector
Constructor Details
#initialize(left, right) ⇒ CompoundSelector
Returns a new instance of CompoundSelector.
114 115 116 117 |
# File 'lib/ldpath/selectors.rb', line 114 def initialize(left, right) @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
113 114 115 |
# File 'lib/ldpath/selectors.rb', line 113 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
113 114 115 |
# File 'lib/ldpath/selectors.rb', line 113 def right @right end |