Class: WsdlMapper::Generation::TypeToGenerate
- Inherits:
-
Object
- Object
- WsdlMapper::Generation::TypeToGenerate
- Defined in:
- lib/wsdl_mapper/generation/type_to_generate.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, type_name) ⇒ TypeToGenerate
constructor
A new instance of TypeToGenerate.
Constructor Details
#initialize(type, type_name) ⇒ TypeToGenerate
Returns a new instance of TypeToGenerate.
6 7 8 9 |
# File 'lib/wsdl_mapper/generation/type_to_generate.rb', line 6 def initialize(type, type_name) @type = type @name = type_name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/wsdl_mapper/generation/type_to_generate.rb', line 4 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'lib/wsdl_mapper/generation/type_to_generate.rb', line 4 def type @type end |