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

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