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

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

Instance Attribute Summary collapse

Instance Attribute Details

#author ⇒ Object

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

#description ⇒ Object

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

#name ⇒ Object

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

#required ⇒ Object

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

#type ⇒ Object

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