Class: Origen::Tester::Doc::Generator::Tests::IndexedString

Inherits:
String
  • Object
show all
Defined in:
lib/origen/tester/doc/generator/tests.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from String

#camel_case, #escape_underscores, #is_numeric?, #pad_leading_zeros, #squeeze_lines, #symbolize, #titleize, #to_bool, #to_dec, #to_lines, #to_numeric, #to_snakecase, #to_snakecase!

Instance Attribute Details

#indexObject

Returns the value of attribute index.



13
14
15
# File 'lib/origen/tester/doc/generator/tests.rb', line 13

def index
  @index
end

Instance Method Details

#nameObject



15
16
17
# File 'lib/origen/tester/doc/generator/tests.rb', line 15

def name
  self
end