Class: OrigenTesters::Generator::Placeholder
- Inherits:
-
Object
- Object
- OrigenTesters::Generator::Placeholder
- Defined in:
- lib/origen_testers/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.
6 7 8 |
# File 'lib/origen_testers/generator/placeholder.rb', line 6 def initialize(type, file, = {}) @type, @file, @options = type, file, end |
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
4 5 6 |
# File 'lib/origen_testers/generator/placeholder.rb', line 4 def file @file end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/origen_testers/generator/placeholder.rb', line 4 def id @id end |
#options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/origen_testers/generator/placeholder.rb', line 4 def @options end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/origen_testers/generator/placeholder.rb', line 4 def type @type end |