class IDL::Scanner::CharRegistry
Public Class Methods
new(table_)
click to toggle source
# File lib/ridl/scanner.rb, line 201 def initialize(table_) @table = table_ end
Public Instance Methods
[](key)
click to toggle source
# File lib/ridl/scanner.rb, line 205 def [](key) key = (::Integer === key) ? key.chr.to_sym : key.to_sym @table[key] end