class Librarian::Specfile
Attributes
environment[RW]
path[RW]
Public Class Methods
new(environment, path)
click to toggle source
# File lib/librarian/specfile.rb, line 9 def initialize(environment, path) self.environment = environment self.path = Pathname(path) end
Public Instance Methods
read(precache_sources = [])
click to toggle source
# File lib/librarian/specfile.rb, line 14 def read(precache_sources = []) environment.dsl(path, precache_sources) end