Class: Codeqa::Checker
- Inherits:
-
Object
- Object
- Codeqa::Checker
- Extended by:
- Forwardable
- Defined in:
- lib/codeqa/checker.rb
Direct Known Subclasses
Codeqa::Checkers::CheckErb, Codeqa::Checkers::CheckErbHtml, Codeqa::Checkers::CheckRubySyntax, Codeqa::Checkers::CheckUtf8Encoding, Codeqa::Checkers::CheckYard, Codeqa::Checkers::HtmlValidator, Codeqa::Checkers::PatternChecker, Codeqa::Checkers::Rubocop
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#sourcefile ⇒ Object
readonly
Returns the value of attribute sourcefile.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sourcefile) ⇒ Checker
constructor
A new instance of Checker.
Constructor Details
#initialize(sourcefile) ⇒ Checker
Returns a new instance of Checker.
10 11 12 13 |
# File 'lib/codeqa/checker.rb', line 10 def initialize(sourcefile) @errors = CheckErrors.new @sourcefile = sourcefile end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
16 17 18 |
# File 'lib/codeqa/checker.rb', line 16 def errors @errors end |
#sourcefile ⇒ Object (readonly)
Returns the value of attribute sourcefile.
15 16 17 |
# File 'lib/codeqa/checker.rb', line 15 def sourcefile @sourcefile end |
Class Method Details
.available? ⇒ Boolean
19 20 21 |
# File 'lib/codeqa/checker.rb', line 19 def self.available? true end |