add logic condition_split
This commit is contained in:
parent
8788ee70b9
commit
61839ef1ac
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,10 @@ module Logic
|
|||
end
|
||||
end
|
||||
|
||||
def self.split_condition(condition)
|
||||
[condition.left, condition.class.name, condition.right]
|
||||
end
|
||||
|
||||
def ds_eq(left, right) = Logic::Eq.new(left, right)
|
||||
|
||||
def greater_than(left, right) = Logic::GreaterThan.new(left, right)
|
||||
|
|
Loading…
Add table
Reference in a new issue