lib/code_metrics/stats_directories.rb
def default_app_directories
      StatDirectory.from_list([
        %w(Controllers        app/controllers),
        %w(Helpers            app/helpers),
        %w(Models             app/models),
        %w(Mailers            app/mailers),
        %w(Javascripts        app/assets/javascripts),
        %w(Libraries          lib),
        %w(APIs               app/apis)
      ], @root)
    end
def default_app_directories
      StatDirectory.from_list([
        %w(Controllers        app/controllers),
        %w(Helpers            app/helpers),
        %w(Models             app/models),
        %w(Mailers            app/mailers),
        %w(Javascripts        app/assets/javascripts),
        %w(Libraries          lib),
        %w(APIs               app/apis)
      ], @root)
    end
def default_app_directories StatDirectory . from_list ( [ %w( Controllers app/controllers ) , %w( Helpers app/helpers ) , %w( Models app/models ) , %w( Mailers app/mailers ) , %w( Javascripts app/assets/javascripts ) , %w( Libraries lib ) , %w( APIs app/apis ) ] , @root ) end
What Rails expects
What Rails expects