Parent

Object

Public Class Methods

_eval_as_ruby_string(text) click to toggle source
# File lib/earthquake/commands.rb, line 110
def self._eval_as_ruby_string(text)
  return text unless config[:eval_as_ruby_string_for_update]
  begin
    text = eval(%"#{text.gsub('"', '\"')}"|)
  rescue Exception => e
    puts e.message.c(:notice)
  end
  text
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.