Class: Origen::Specs::Spec::SpecAttribute

Inherits:
Struct
  • Object
show all
Defined in:
lib/origen/specs/spec.rb

Instance Attribute Summary collapse

Instance Attribute Details

#authorObject

Returns the value of attribute author

Returns:

  • (Object)

    the current value of author



9
10
11
# File 'lib/origen/specs/spec.rb', line 9

def author
  @author
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



9
10
11
# File 'lib/origen/specs/spec.rb', line 9

def description
  @description
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/origen/specs/spec.rb', line 9

def name
  @name
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



9
10
11
# File 'lib/origen/specs/spec.rb', line 9

def required
  @required
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



9
10
11
# File 'lib/origen/specs/spec.rb', line 9

def type
  @type
end