class String
Public Instance Methods
constantize()
click to toggle source
# File lib/attributary/core_ext.rb, line 3 def constantize Object.const_get(self) end
safe_constantize()
click to toggle source
# File lib/attributary/core_ext.rb, line 9 def safe_constantize constantize rescue StandardError nil end