Top Level Namespace

Defined Under Namespace

Modules: SlimLint

Instance Method Summary collapse

Instance Method Details

#require_parser(path) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/slim_lint/ruby_parser.rb', line 6

def require_parser(path)
  prev = $VERBOSE
$VERBOSE = nil
  require "parser/#{path}"
ensure
  $VERBOSE = prev
end