Class: Codeqa::Checker

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/codeqa/checker.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



16
17
18
# File 'lib/codeqa/checker.rb', line 16

def errors
  @errors
end

#sourcefileObject (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

Returns:

  • (Boolean)


19
20
21
# File 'lib/codeqa/checker.rb', line 19

def self.available?
  true
end