Sha256: 077a8028e48510b7dff237c4da0959d3078c9fb54bfc80959f208bc09386f8d4

Contents?: true

Size: 434 Bytes

Versions: 11

Compression:

Stored size: 434 Bytes

Contents

require 'librarian/helpers/debug'

module Librarian
  class Specfile

    include Helpers::Debug

    attr_accessor :environment
    private :environment=
    attr_reader :path, :dependencies, :source

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

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

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
librarian-0.0.20 lib/librarian/specfile.rb
librarian-0.0.19 lib/librarian/specfile.rb
librarian-0.0.18 lib/librarian/specfile.rb
librarian-0.0.17 lib/librarian/specfile.rb
librarian-0.0.16 lib/librarian/specfile.rb
librarian-0.0.15 lib/librarian/specfile.rb
librarian-0.0.14 lib/librarian/specfile.rb
librarian-0.0.13 lib/librarian/specfile.rb
librarian-0.0.12 lib/librarian/specfile.rb
librarian-0.0.11 lib/librarian/specfile.rb
librarian-0.0.10 lib/librarian/specfile.rb