Method: Symbol#method_missing

Defined in:
lib/ext/symbol.rb

#method_missing(name, *args, &block) ⇒ Object



8
9
10
11
# 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