Class: Librarian::Spec
- Inherits:
-
Object
- Object
- Librarian::Spec
- Defined in:
- lib/librarian/spec.rb
Instance Attribute Summary collapse
-
#dependencies ⇒ Object
readonly
Returns the value of attribute dependencies.
-
#sources ⇒ Object
readonly
Returns the value of attribute sources.
Instance Method Summary collapse
-
#initialize(sources, dependencies) ⇒ Spec
constructor
A new instance of Spec.
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
#dependencies ⇒ Object
Returns the value of attribute dependencies.
4 5 6 |
# File 'lib/librarian/spec.rb', line 4 def dependencies @dependencies end |
#sources ⇒ Object
Returns the value of attribute sources.
4 5 6 |
# File 'lib/librarian/spec.rb', line 4 def sources @sources end |