module Gemfilelint::Parser
Public Class Methods
for(path)
click to toggle source
# File lib/gemfilelint.rb, line 102 def self.for(path) Valid.new(path, Bundler::Dsl.new.tap { |dsl| dsl.eval_gemfile(path) }) rescue Bundler::Dsl::DSLError Invalid.new(path) end