Method: CodeAnalyzer::Warning#initialize

Defined in:
lib/code_analyzer/warning.rb

#initialize(options = {}) ⇒ Warning

Returns a new instance of Warning.



10
11
12
13
14
# File 'lib/code_analyzer/warning.rb', line 10

def initialize(options = {})
  @filename = options[:filename]
  @line_number = options[:line_number].to_s
  @message = options[:message]
end