Class: CapicuaGen::Target

Inherits:
Object
  • Object
show all
Includes:
CapicuaGen
Defined in:
lib/CapicuaGen/target.rb

Overview

Define un objtivo a contruir

Constant Summary

Constants included from CapicuaGen

VERSION

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#enableObject

Returns the value of attribute enable.



33
34
35
# File 'lib/CapicuaGen/target.rb', line 33

def enable
  @enable
end

#enable_generationObject

Returns the value of attribute enable_generation.



33
34
35
# File 'lib/CapicuaGen/target.rb', line 33

def enable_generation
  @enable_generation
end

#feature_nameObject

Returns the value of attribute feature_name.



33
34
35
# File 'lib/CapicuaGen/target.rb', line 33

def feature_name
  @feature_name
end

#groupObject

Returns the value of attribute group.



33
34
35
# File 'lib/CapicuaGen/target.rb', line 33

def group
  @group
end

#nameObject

Returns the value of attribute name.



33
34
35
# File 'lib/CapicuaGen/target.rb', line 33

def name
  @name
end