Class: Origen::Specs::Version_History

Inherits:
Object
  • Object
show all
Defined in:
lib/origen/specs/version_history.rb

Overview

This class is used to store spec exhibit information used to document IP

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(date, author, changes, label = nil, external_changes_internal = nil) ⇒ Version_History

Returns a new instance of Version_History.



7
8
9
10
11
12
13
# File 'lib/origen/specs/version_history.rb', line 7

def initialize(date, author, changes, label = nil, external_changes_internal =  nil)
  @date = date
  @author = author
  @changes = changes
  @label = label
  @external_changes_internal = external_changes_internal
end

Instance Attribute Details

#authorObject

Returns the value of attribute author.



5
6
7
# File 'lib/origen/specs/version_history.rb', line 5

def author
  @author
end

#changesObject

Returns the value of attribute changes.



5
6
7
# File 'lib/origen/specs/version_history.rb', line 5

def changes
  @changes
end

#dateObject

Returns the value of attribute date.



5
6
7
# File 'lib/origen/specs/version_history.rb', line 5

def date
  @date
end

#external_changes_internalObject

Returns the value of attribute external_changes_internal.



5
6
7
# File 'lib/origen/specs/version_history.rb', line 5

def external_changes_internal
  @external_changes_internal
end

#labelObject

Returns the value of attribute label.



5
6
7
# File 'lib/origen/specs/version_history.rb', line 5

def label
  @label
end