Modules: Ruby, Sqlite3
10 11 12 13 14
# File 'lib/zendesk/strategy.rb', line 10 def get(strategy_string) const_get strategy_string.classify rescue NameError => e raise Zendesk::Error, "unknown strategy '#{strategy_string}'" end