Class: BuildingSync::Weight
- Inherits:
-
String
- Object
- String
- BuildingSync::Weight
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaWeight
xmlattr_unit - SOAP::SOAPNMTOKEN
Constant Summary collapse
- AttrUnit =
XSD::QName.new(nil, "unit")
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(*arg) ⇒ Weight
constructor
A new instance of Weight.
- #xmlattr_unit ⇒ Object
- #xmlattr_unit=(value) ⇒ Object
Constructor Details
#initialize(*arg) ⇒ Weight
Returns a new instance of Weight.
33545 33546 33547 33548 |
# File 'lib/BuildingSync.rb', line 33545 def initialize(*arg) super @__xmlattr = {} end |
Instance Method Details
#__xmlattr ⇒ Object
33533 33534 33535 |
# File 'lib/BuildingSync.rb', line 33533 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_unit ⇒ Object
33537 33538 33539 |
# File 'lib/BuildingSync.rb', line 33537 def xmlattr_unit __xmlattr[AttrUnit] end |
#xmlattr_unit=(value) ⇒ Object
33541 33542 33543 |
# File 'lib/BuildingSync.rb', line 33541 def xmlattr_unit=(value) __xmlattr[AttrUnit] = value end |