Parent

Methods

String

Public Instance Methods

to_class() click to toggle source
# File lib/inline_acceleration.rb, line 20
def to_class
  names = self.split('::')
  klass = Object
  names.each do |name|
    sym = name.to_sym
    return nil if !klass.const_defined?(sym)
    klass = klass.const_get(sym)
  end
  klass
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.