lib/reek/source/config_file.rb
#
# Find the class with this name if it exsits.
# If not, report the problem and return +nil+.
#
Find the class with this name if it exsits.
If not, report the problem and return +nil+.
Find the class with this name if it exsits . If not report the problem and return + nil + .
def find_class(name)
        begin
          klass = Reek::Smells.const_get(name)
        rescue
          klass = nil
        end
        report_problem("\"#{name}\" is not a code smell") unless klass
        klass
      end
def find_class ( name ) begin klass = Reek :: Smells . const_get ( name ) rescue klass = nil end report_problem ( "\"#{name}\" is not a code smell" ) unless klass klass end
Find the class with this name if it exsits.
Find the class with this name if it exsits .
name
<not_specific>