Class: RRTF::Utilities
- Inherits:
-
Object
- Object
- RRTF::Utilities
- Defined in:
- lib/rrtf.rb
Overview
class RTFError
Class Method Summary collapse
Class Method Details
.constantize(string) ⇒ Object
23 24 25 |
# File 'lib/rrtf.rb', line 23 def self.constantize(string) string.split('::').inject(Object) {|o,c| o.const_get c} end |