Sha256: 7ff187be45468f5b00d36ab25e90245e3907e00d804b757a6e7e411c3187bdef
Contents?: true
Size: 570 Bytes
Versions: 19
Compression:
Stored size: 570 Bytes
Contents
require 'librarian/helpers/debug' require 'librarian/lockfile/compiler' require 'librarian/lockfile/parser' module Librarian class Lockfile include Helpers::Debug attr_accessor :environment private :environment= attr_reader :path def initialize(environment, path) self.environment = environment @path = path end def save(resolution) Compiler.new(environment).compile(resolution) end def load(string) Parser.new(environment).parse(string) end def read load(path.read) end end end
Version data entries
19 entries across 19 versions & 2 rubygems