Class: BuildingSync::Weight

Inherits:
String
  • Object
show all
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

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

#__xmlattrObject



33533
33534
33535
# File 'lib/BuildingSync.rb', line 33533

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_unitObject



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