Sha256: 2b3e039c471dd370580444444eede41b948d3874004fa3be8966684b3e47c59f

Contents?: true

Size: 346 Bytes

Versions: 9

Compression:

Stored size: 346 Bytes

Contents

require "pathname"

module Librarian
  class Specfile

    attr_accessor :environment, :path
    private :environment=, :path=

    def initialize(environment, path)
      self.environment = environment
      self.path = Pathname(path)
    end

    def read(precache_sources = [])
      environment.dsl(path, precache_sources)
    end

  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
librarianp-0.5.1 lib/librarian/specfile.rb
librarianp-0.5.0 lib/librarian/specfile.rb
librarianp-0.4.0 lib/librarian/specfile.rb
librarianp-0.3.0 lib/librarian/specfile.rb
librarianp-0.2.0 lib/librarian/specfile.rb
librarianp-0.1.2 lib/librarian/specfile.rb
librarian-0.1.2 lib/librarian/specfile.rb
librarian-0.1.1 lib/librarian/specfile.rb
librarian-0.1.0 lib/librarian/specfile.rb