Class: Mailmate::AST::NotNode Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/mailmate/ast.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#childObject

Returns the value of attribute child

Returns:

  • (Object)

    the current value of child



11
12
13
# File 'lib/mailmate/ast.rb', line 11

def child
  @child
end

Instance Method Details

#inspectObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
# File 'lib/mailmate/ast.rb', line 11

def inspect; "Not(#{child.inspect})"; end