Class: Fluidity::Grammer::Assert

Inherits:
Base show all
Defined in:
lib/fluidity/grammer.rb

Instance Method Summary collapse

Methods inherited from Base

#==, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Fluidity::Grammer::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Fluidity::Grammer::Base

Instance Method Details

#notObject

def method_missing(s, *a, &b)

call(s, *a, &b)

end



51
52
53
# File 'lib/fluidity/grammer.rb', line 51

def not
  Assert.new(@target, !@negate)
end