Okay I've been looking around for awhile now on different ways to run a method call that is stored up in a hash like the following:
Are there any more ways to run a method that is stored in a hash? If so/if not which way is the safest?
module MyHash Hash = { :call_one => SceneManager.goto(Scene_Title), :call_two => 'SceneManager.goto(Scene_Title)' } #SceneManager.goto(Scene_Title) used as #an exampleendclass Test def self.call_one MyHash::Hash[:call_one] #won't work end def self.call_two eval(MyHash::Hash[:call_two]) #works but I would rather not use eval end def self.call_three instance_eval(MyHash::Hash[:call_two]) #again this works however I am not certain #if this is any better than eval endend