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



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

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.



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

def inspect; "Num(#{value})"; end