Class: Cfdi40::ComplementoConcepto

Inherits:
Node
  • Object
show all
Defined in:
lib/cfdi40/complemento_concepto.rb

Instance Attribute Summary

Attributes inherited from Node

#children_nodes, #element_name, #parent_node, #readonly, #xml_document, #xml_parent

Instance Method Summary collapse

Methods inherited from Node

#add_attributes_to, #add_child_node, #add_children_to, #add_namespaces_to, #attibute_is_null?, attributes, #clean_cached_xml, #create_xml_node, #current_namespace, default_values, define_attribute, define_element_name, define_namespace, define_reader, define_writer, #delete_child, element_name, #expanded_element_name, formats, #formatted_value, #initialize, #load_from_ng_node, #lock, namespaces, #set_defaults, verify_class_variables

Constructor Details

This class inherits a constructor from Cfdi40::Node

Instance Method Details

#inst_educativas_nodeObject



5
6
7
8
9
10
11
12
# File 'lib/cfdi40/complemento_concepto.rb', line 5

def inst_educativas_node
  return @inst_educativas_node if defined?(@inst_educativas_node)

  @inst_educativas_node = InstEducativas.new
  @inst_educativas_node.parent_node = self
  children_nodes << @inst_educativas_node
  @inst_educativas_node
end