Class: BuildingSync::Length

Inherits:
String
  • Object
show all
Defined in:
lib/BuildingSync.rb

Overview

http://www.gbxml.org/schemaLength

xmlattr_unit - SOAP::SOAPNMTOKEN

Constant Summary collapse

AttrUnit =
XSD::QName.new(nil, "unit")

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ Length

Returns a new instance of Length.



29528
29529
29530
29531
# File 'lib/BuildingSync.rb', line 29528

def initialize(*arg)
  super
  @__xmlattr = {}
end

Instance Method Details

#__xmlattrObject



29516
29517
29518
# File 'lib/BuildingSync.rb', line 29516

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_unitObject



29520
29521
29522
# File 'lib/BuildingSync.rb', line 29520

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



29524
29525
29526
# File 'lib/BuildingSync.rb', line 29524

def xmlattr_unit=(value)
  __xmlattr[AttrUnit] = value
end