Method: JsDuck::Process::Versions#initialize
- Defined in:
- lib/jsduck/process/versions.rb
#initialize(relations, opts = {}, importer = nil) ⇒ Versions
Returns a new instance of Versions.
13 14 15 16 17 18 |
# File 'lib/jsduck/process/versions.rb', line 13 def initialize(relations, opts={}, importer=nil) @relations = relations @opts = opts # Allow different importer to be injected for testing @importer = importer || Process::Importer.new end |