Class: Origen::Chips::Doc_Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/origen/chips/doc_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(date, type, revision, description, options = {}) ⇒ Doc_Entry

Returns a new instance of Doc_Entry


25
26
27
28
29
30
31
32
33
# File 'lib/origen/chips/doc_entry.rb', line 25

def initialize(date, type, revision, description, options = {})
  @date = date
  @type = type
  @revision = revision
  @description = description
  @nda = options[:nda]
  @release = options[:release]
  @location = options[:location]
end

Instance Attribute Details

#dateObject

date that the document was released


5
6
7
# File 'lib/origen/chips/doc_entry.rb', line 5

def date
  @date
end

#descriptionObject

description


23
24
25
# File 'lib/origen/chips/doc_entry.rb', line 23

def description
  @description
end

#locationObject

location


20
21
22
# File 'lib/origen/chips/doc_entry.rb', line 20

def location
  @location
end

#ndaObject

nda


14
15
16
# File 'lib/origen/chips/doc_entry.rb', line 14

def nda
  @nda
end

#releaseObject

released status


17
18
19
# File 'lib/origen/chips/doc_entry.rb', line 17

def release
  @release
end

#revisionObject

revision


11
12
13
# File 'lib/origen/chips/doc_entry.rb', line 11

def revision
  @revision
end

#typeObject

document type, e.g. Reference Manual, One Pager, Data Sheet


8
9
10
# File 'lib/origen/chips/doc_entry.rb', line 8

def type
  @type
end