Class: Mailmate::AST::VarRefNode Private

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

Overview

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.

Stage C placeholder: $SENT.from.address style references.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



31
32
33
# File 'lib/mailmate/ast.rb', line 31

def path
  @path
end

#varObject

Returns the value of attribute var

Returns:

  • (Object)

    the current value of var



31
32
33
# File 'lib/mailmate/ast.rb', line 31

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



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

def inspect; "Var($#{var}.#{path.join(".")})"; end