Class: Mailmate::AST::AndNode 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

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



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

def children
  @children
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.



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

def inspect; "And(#{children.map(&:inspect).join(", ")})"; end