Method: Rust::Formula#==

Defined in:
lib/rust/core/types/language.rb

#==(oth) ⇒ Object



35
36
37
38
39
# File 'lib/rust/core/types/language.rb', line 35

def ==(oth)
    return false unless oth.is_a?(Formula)
    
    return @left_part == oth.left_part && @right_part == oth.right_part
end