Method: SOCMaker::HDLFile#initialize

Defined in:
lib/soc_maker/hdl_file.rb

#initialize(path, optional = {}) ⇒ HDLFile

The constructor gets the path as mandatory argument. Everything else can be passed with optional arguments



81
82
83
# File 'lib/soc_maker/hdl_file.rb', line 81

def initialize( path, optional = {} )
  init_with( { 'path' => path }.merge( optional ) )
end