評估字串

任何 String 都可以在執行時進行評估。

class Example
  def self.foo
    :foo
  end
end

eval "Example.foo" #=> :foo