Class: Origen::Tester::Generator::Placeholder

Inherits:
Object
  • Object
show all
Defined in:
lib/origen/tester/generator/placeholder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options = {})
  @type, @file, @options = type, file, options
end

Instance Attribute Details

#fileObject

Returns the value of attribute file.



5
6
7
# File 'lib/origen/tester/generator/placeholder.rb', line 5

def file
  @file
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/origen/tester/generator/placeholder.rb', line 5

def id
  @id
end

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/origen/tester/generator/placeholder.rb', line 5

def options
  @options
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/origen/tester/generator/placeholder.rb', line 5

def type
  @type
end