class Bundler::Dsl::DSLError

def contents

Returns:
  • (String) - the contents of the DSL that cause the exception to
def contents
  @contents ||= dsl_path && File.exist?(dsl_path) && File.read(dsl_path)
end