Method: GoogleLintParser#initialize

Defined in:
lib/tasks/google_lint/google_lint_parser.rb

#initialize(dir) ⇒ GoogleLintParser

Returns a new instance of GoogleLintParser.



3
4
5
6
7
8
9
10
# File 'lib/tasks/google_lint/google_lint_parser.rb', line 3

def initialize(dir)
  @dir = dir
 
  # TODO: Tidy!
  if (RUBY_PLATFORM =~ /mswin32/)
    @dir = @dir.gsub('/', '\\')
  end 
end