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.
183 184 185 186 187 188 |
# File 'lib/ldpath/selectors.rb', line 183 def initialize(left, right) @left = left @right = right super end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
181 182 183 |
# File 'lib/ldpath/selectors.rb', line 181 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
181 182 183 |
# File 'lib/ldpath/selectors.rb', line 181 def right @right end |