Class: Expgen::Nodes::CodePointHex

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



121
122
123
# File 'lib/expgen/nodes.rb', line 121

def chars
  [ast[:code].to_s.to_i(16).chr]
end