Class: Expgen::Nodes::EscapeCharControl

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



103
104
105
# File 'lib/expgen/nodes.rb', line 103

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