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_atom, #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



275
276
277
# File 'lib/dsl/ferrari.rb', line 275

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