class IDL::Scanner::TokenRegistry
Public Instance Methods
[](key)
click to toggle source
Calls superclass method
# File lib/ridl/scanner.rb, line 178 def [](key) super(::Symbol === key ? key : key.to_s.to_sym) end
[]=(key, val)
click to toggle source
Calls superclass method
# File lib/ridl/scanner.rb, line 182 def []=(key, val) super(::Symbol === key ? key : key.to_s.to_sym, val.to_s) end
assoc(key)
click to toggle source
# File lib/ridl/scanner.rb, line 194 def assoc(key) k_ = (::Symbol === key ? key : key.to_s.to_sym) self.has_key?(k_) ? [k_, self[k_]] : nil end
delete(key)
click to toggle source
Calls superclass method
# File lib/ridl/scanner.rb, line 190 def delete(key) super(::Symbol === key ? key : key.to_s.to_sym) end
has_key?(key)
click to toggle source
Calls superclass method
# File lib/ridl/scanner.rb, line 186 def has_key?(key) super(::Symbol === key ? key : key.to_s.to_sym) end