Class: Origen::Tester::Generator::Placeholder
- Defined in:
- lib/origen/tester/generator/placeholder.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#id ⇒ Object
Returns the value of attribute id.
-
#options ⇒ Object
Returns the value of attribute options.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, file, options = {}) ⇒ Placeholder
constructor
A new instance of Placeholder.
Constructor Details
#initialize(type, file, options = {}) ⇒ Placeholder
Returns a new instance of Placeholder.
7 8 9 |
# File 'lib/origen/tester/generator/placeholder.rb', line 7 def initialize(type, file, = {}) @type, @file, @options = type, file, end |
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
5 6 7 |
# File 'lib/origen/tester/generator/placeholder.rb', line 5 def file @file end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/origen/tester/generator/placeholder.rb', line 5 def id @id end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/origen/tester/generator/placeholder.rb', line 5 def @options end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/origen/tester/generator/placeholder.rb', line 5 def type @type end |