Class: Expgen::Nodes::EscapeCharLiteral

Inherits:
Character show all
Defined in:
lib/expgen/nodes.rb

Instance Attribute Summary

Attributes inherited from Node

#ast

Instance Method Summary collapse

Methods inherited from Node

#initialize, #max, #repeat

Constructor Details

This class inherits a constructor from Expgen::Nodes::Node

Instance Method Details

#charsObject



109
110
111
# File 'lib/expgen/nodes.rb', line 109

def chars
  [ast[:letter].to_s]
end