Class: EnhanceRepo::RpmMd::ValueProperty
- Defined in:
- lib/enhance_repo/rpm_md/suse_data.rb
Instance Attribute Summary
Attributes inherited from Property
Instance Method Summary collapse
-
#initialize(name, value) ⇒ ValueProperty
constructor
A new instance of ValueProperty.
- #write(builder, _pkgid) ⇒ Object
Methods inherited from Property
Constructor Details
#initialize(name, value) ⇒ ValueProperty
Returns a new instance of ValueProperty.
46 47 48 49 |
# File 'lib/enhance_repo/rpm_md/suse_data.rb', line 46 def initialize(name, value) super(name) @value = value end |
Instance Method Details
#write(builder, _pkgid) ⇒ Object
51 52 53 |
# File 'lib/enhance_repo/rpm_md/suse_data.rb', line 51 def write(builder, _pkgid) builder.tag!(@name, @value) end |