Class: Origen::Specs::Exhibit
Overview
This class is used to store spec exhibit information used to document IP
Instance Attribute Summary collapse
-
#block_id ⇒ Object
Returns the value of attribute block_id.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#include_exhibit ⇒ Object
Returns the value of attribute include_exhibit.
-
#markup ⇒ Object
Returns the value of attribute markup.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(id, type, options = {}) ⇒ Exhibit
constructor
A new instance of Exhibit.
Constructor Details
#initialize(id, type, options = {}) ⇒ Exhibit
Returns a new instance of Exhibit.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/origen/specs/exhibit.rb', line 7 def initialize(id, type, = {}) @id = id @type = type @title = [:title] @description = [:description] @reference = [:reference] @markup = [:markup] @include_exhibit = true @include_exhibit = [:include_exhibit] unless [:include_exhibit].nil? @block_id = [:block_id] end |
Instance Attribute Details
#block_id ⇒ Object
Returns the value of attribute block_id.
5 6 7 |
# File 'lib/origen/specs/exhibit.rb', line 5 def block_id @block_id end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/origen/specs/exhibit.rb', line 5 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/origen/specs/exhibit.rb', line 5 def id @id end |
#include_exhibit ⇒ Object
Returns the value of attribute include_exhibit.
5 6 7 |
# File 'lib/origen/specs/exhibit.rb', line 5 def include_exhibit @include_exhibit end |
#markup ⇒ Object
Returns the value of attribute markup.
5 6 7 |
# File 'lib/origen/specs/exhibit.rb', line 5 def markup @markup end |
#reference ⇒ Object
Returns the value of attribute reference.
5 6 7 |
# File 'lib/origen/specs/exhibit.rb', line 5 def reference @reference end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/origen/specs/exhibit.rb', line 5 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/origen/specs/exhibit.rb', line 5 def type @type end |