class DidYouMean::ClassNameChecker::ClassName

Attributes

namespace[R]

Public Class Methods

new(name, namespace = '') click to toggle source
Calls superclass method
# File did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb, line 37
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 42
def full_name
  self.class.new("#{namespace}#{self}")
end