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