In Files

  • did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb

Parent

Methods

DidYouMean::ClassNameChecker::ClassName

Attributes

namespace[R]

Public Class Methods

new(name, namespace = '') click to toggle source
 
               # File did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb, line 36
def initialize(name, namespace = '')
  super(name.to_s)
  @namespace = namespace
end
            

Public Instance Methods

full_name() click to toggle source
 
               # File did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb, line 41
def full_name
  self.class.new("#{namespace}#{self}")
end