Class: JunitReportGenerator::Element

Inherits:
Object
  • Object
show all
Includes:
Elementary
Defined in:
lib/junit_report_generator/elements/element.rb

Instance Attribute Summary

Attributes included from Elementary

#attributes

Class Method Summary collapse

Methods included from Elementary

#assemble_attributes, #method_missing, #update_attributes

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class JunitReportGenerator::Elementary

Class Method Details

.create(*args) ⇒ Object



9
10
11
# File 'lib/junit_report_generator/elements/element.rb', line 9

def create(*args)
  new(*args)
end

.xml_tag_nameObject

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/junit_report_generator/elements/element.rb', line 17

def xml_tag_name
  raise(NotImplementedError, "Abstract method [#{__method__}] is called, please implement", caller)
end