lib/reek/source/source_code.rb in reek-3.3.0 vs lib/reek/source/source_code.rb in reek-3.3.1

- old
+ new

@@ -21,10 +21,10 @@ # Initializer. # # code - Ruby code as String # description - 'STDIN', 'string' or a filepath as String # parser - the parser to use for generating AST's out of the given source - def initialize(code, description, parser = Parser::Ruby22) + def initialize(code, description, parser: Parser::Ruby22) @source = code @description = description @parser = parser end