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.
99 100 101 102 |
# File 'lib/ldpath/selectors.rb', line 99 def initialize left, right @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
98 99 100 |
# File 'lib/ldpath/selectors.rb', line 98 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
98 99 100 |
# File 'lib/ldpath/selectors.rb', line 98 def right @right end |