Class: OrigenTesters::Generator::Placeholder

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Instance Attribute Details

#fileObject

Returns the value of attribute file.



4
5
6
# File 'lib/origen_testers/generator/placeholder.rb', line 4

def file
  @file
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/origen_testers/generator/placeholder.rb', line 4

def id
  @id
end

#optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/origen_testers/generator/placeholder.rb', line 4

def options
  @options
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/origen_testers/generator/placeholder.rb', line 4

def type
  @type
end