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

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



23
24
25
# File 'lib/mailmate/ast.rb', line 23

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



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

def inspect; "Str(#{value.inspect})"; end