class Symbol
Public Instance Methods
method_missing(name, *args, &block)
click to toggle source
Calls superclass method
# File lib/ext/symbol.rb, line 8 def method_missing(name, *args, &block) str = to_s str.respond_to?(name) ? str.send(name, *args, &block) : super end
walk(obj)
click to toggle source
# File lib/ext/symbol.rb, line 4 def walk(obj) to_s.walk(obj) end