module Sand::Util

Public Class Methods

constantize(str = '') click to toggle source
# File lib/sand/util.rb, line 3
def self.constantize(str = '')
  str.split('::').inject(Module) { |a, e| a.const_get(e) }
end