Class: WSDL::XMLSchema::XSD2Ruby
- Inherits:
-
Object
- Object
- WSDL::XMLSchema::XSD2Ruby
- Defined in:
- lib/wsdl/xmlSchema/xsd2ruby.rb
Instance Attribute Summary collapse
-
#basedir ⇒ Object
Returns the value of attribute basedir.
-
#location ⇒ Object
Returns the value of attribute location.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#opt ⇒ Object
readonly
Returns the value of attribute opt.
Instance Method Summary collapse
Instance Attribute Details
#basedir ⇒ Object
Returns the value of attribute basedir
22 23 24 |
# File 'lib/wsdl/xmlSchema/xsd2ruby.rb', line 22 def basedir @basedir end |
#location ⇒ Object
Returns the value of attribute location
19 20 21 |
# File 'lib/wsdl/xmlSchema/xsd2ruby.rb', line 19 def location @location end |
#logger ⇒ Object
Returns the value of attribute logger
21 22 23 |
# File 'lib/wsdl/xmlSchema/xsd2ruby.rb', line 21 def logger @logger end |
#opt ⇒ Object (readonly)
Returns the value of attribute opt
20 21 22 |
# File 'lib/wsdl/xmlSchema/xsd2ruby.rb', line 20 def opt @opt end |
Instance Method Details
#run ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/wsdl/xmlSchema/xsd2ruby.rb', line 24 def run unless @location raise RuntimeError, "XML Schema location not given" end @xsd = import(@location) @name = create_classname(@xsd) create_file end |