Class: JunitReportGenerator::Property
- Defined in:
- lib/junit_report_generator/elements/property.rb
Instance Attribute Summary
Attributes included from Elementary
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name, value) ⇒ Property
constructor
A new instance of Property.
Methods inherited from Element
Methods included from Elementary
#assemble_attributes, #method_missing, #update_attributes
Constructor Details
#initialize(name, value) ⇒ Property
Returns a new instance of Property.
5 6 7 8 9 |
# File 'lib/junit_report_generator/elements/property.rb', line 5 def initialize(name, value) @name = name @value = value assemble_attributes(:name, :value) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class JunitReportGenerator::Elementary
Class Method Details
.xml_tag_name ⇒ Object
12 13 14 |
# File 'lib/junit_report_generator/elements/property.rb', line 12 def xml_tag_name 'property' end |