Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (26 sloc) 0.723 kB
module Pelusa
# Public: Runs the runner on a set of files.
#
# Returns an Array of results of a given Reporter
def self.run(files=[], reporter=StdoutReporter)
lints = configuration.enabled_lints
runner = Runner.new(lints, reporter)
runner.run(files)
end
# Return configuration
def self.configuration
@configuration ||= Configuration.new
end
end
require 'yaml'
require 'pelusa/configuration'
require 'pelusa/cli'
require 'pelusa/runner'
require 'pelusa/analyzer'
require 'pelusa/lint'
require 'pelusa/analysis'
require 'pelusa/class_analyzer'
require 'pelusa/report'
require 'pelusa/reporters/reporter'
require 'pelusa/reporters/stdout_reporter'
require 'pelusa/reporters/ruby_reporter'
Jump to Line
Something went wrong with that request. Please try again.