Class: Ruleby::Ferrari::NotOperatorBuilder

Inherits:
AtomBuilder
  • Object
show all
Defined in:
lib/dsl/ferrari.rb

Instance Attribute Summary

Attributes inherited from AtomBuilder

#bindings, #block, #deftemplate, #name, #tag

Instance Method Summary collapse

Methods inherited from AtomBuilder

#<, #<=, #=~, #>, #>=, #build_atoms, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Ruleby::Ferrari::AtomBuilder

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ruleby::Ferrari::AtomBuilder

Instance Method Details

#==(value) ⇒ Object



350
351
352
# File 'lib/dsl/ferrari.rb', line 350

def ==(value)
  create_block value, lambda {|x,y| x != y}, lambda {|x| x != value}; self
end