lib/rcap/cap_1_0/parameter.rb in rcap-2.5.1 vs lib/rcap/cap_1_0/parameter.rb in rcap-2.6.0

- old
+ new

@@ -1,9 +1,8 @@ module RCAP module CAP_1_0 # A Parameter object is valid if # * it has a name - # * it has a value class Parameter < RCAP::Base::Parameter # @return [REXML::Element] def to_xml_element xml_element = REXML::Element.new(self.class::XML_ELEMENT_NAME) xml_element.add_text("#{ @name }=#{ @value }")