Class: CapicuaGen::Target
- Inherits:
-
Object
- Object
- CapicuaGen::Target
- Includes:
- CapicuaGen
- Defined in:
- lib/CapicuaGen/target.rb
Overview
Define un objtivo a contruir
Constant Summary
Constants included from CapicuaGen
Instance Attribute Summary collapse
-
#enable ⇒ Object
Returns the value of attribute enable.
-
#enable_generation ⇒ Object
Returns the value of attribute enable_generation.
-
#feature_name ⇒ Object
Returns the value of attribute feature_name.
-
#group ⇒ Object
Returns the value of attribute group.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Target
constructor
A new instance of Target.
Methods included from CapicuaGen
#get_attributes, #initialize_array_parameter, #initialize_properties
Constructor Details
#initialize(attributes = {}) ⇒ Target
Returns a new instance of Target.
36 37 38 39 40 41 42 43 44 45 |
# File 'lib/CapicuaGen/target.rb', line 36 def initialize(attributes= {}) @enable= true @enable_generation= true # Inicializo propiedades initialize_properties(attributes, false) @feature_name= @name unless @feature_name end |
Instance Attribute Details
#enable ⇒ Object
Returns the value of attribute enable.
33 34 35 |
# File 'lib/CapicuaGen/target.rb', line 33 def enable @enable end |
#enable_generation ⇒ Object
Returns the value of attribute enable_generation.
33 34 35 |
# File 'lib/CapicuaGen/target.rb', line 33 def enable_generation @enable_generation end |
#feature_name ⇒ Object
Returns the value of attribute feature_name.
33 34 35 |
# File 'lib/CapicuaGen/target.rb', line 33 def feature_name @feature_name end |
#group ⇒ Object
Returns the value of attribute group.
33 34 35 |
# File 'lib/CapicuaGen/target.rb', line 33 def group @group end |
#name ⇒ Object
Returns the value of attribute name.
33 34 35 |
# File 'lib/CapicuaGen/target.rb', line 33 def name @name end |