Class: Librarian::Spec

Inherits:
Object
  • Object
show all
Defined in:
lib/librarian/spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sources, dependencies) ⇒ Spec

Returns a new instance of Spec


7
8
9
10
# File 'lib/librarian/spec.rb', line 7

def initialize(sources, dependencies)
  self.sources = sources
  self.dependencies = dependencies
end

Instance Attribute Details

#dependenciesObject

Returns the value of attribute dependencies


4
5
6
# File 'lib/librarian/spec.rb', line 4

def dependencies
  @dependencies
end

#sourcesObject

Returns the value of attribute sources


4
5
6
# File 'lib/librarian/spec.rb', line 4

def sources
  @sources
end