Module: JSHint4r
- Defined in:
- lib/jshint4r.rb,
lib/jshint4r/cli.rb,
lib/jshint4r/config.rb,
lib/jshint4r/linter.rb,
lib/jshint4r/result.rb,
lib/jshint4r/source.rb,
lib/jshint4r/target.rb,
lib/jshint4r/reporter.rb,
lib/jshint4r/reporter/text.rb,
lib/jshint4r/reporter/compilation.rb
Defined Under Namespace
Modules: Reporter Classes: CLI, Config, Linter, Result, Source, Target
Class Method Summary collapse
Class Method Details
.reporter(reporter = :text) ⇒ Object
3 4 5 |
# File 'lib/jshint4r/reporter.rb', line 3 def reporter( reporter = :text ) JSHint4r::Reporter.const_get( reporter.to_s.capitalize ).new end |