Class: Locator::Boolean::Or
- Extended by:
- Accessors
- Defined in:
- lib/locator/boolean.rb
Instance Method Summary collapse
-
#initialize(lft, rgt) ⇒ Or
constructor
A new instance of Or.
Methods included from Accessors
Methods inherited from Terms
Constructor Details
#initialize(lft, rgt) ⇒ Or
Returns a new instance of Or.
45 46 47 |
# File 'lib/locator/boolean.rb', line 45 def initialize(lft, rgt) replace([lft, rgt]) end |