Class: Origen::Features::Feature
- Defined in:
- lib/origen/features/feature.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #describe ⇒ Object
-
#initialize(name, options = {}) ⇒ Feature
constructor
A new instance of Feature.
Constructor Details
#initialize(name, options = {}) ⇒ Feature
Returns a new instance of Feature.
7 8 9 10 |
# File 'lib/origen/features/feature.rb', line 7 def initialize(name, = {}) @name = name @description = [:description] end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
5 6 7 |
# File 'lib/origen/features/feature.rb', line 5 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/origen/features/feature.rb', line 4 def name @name end |