Class: WsdlMapper::Naming::PropertyName
- Inherits:
-
Object
- Object
- WsdlMapper::Naming::PropertyName
- Defined in:
- lib/wsdl_mapper/naming/property_name.rb
Overview
Represents a name of a ruby property, consisting of its instance variable and its accessors (attribute).
Instance Attribute Summary (collapse)
-
- (Object) attr_name
readonly
Returns the value of attribute attr_name.
-
- (Object) var_name
readonly
Returns the value of attribute var_name.
Instance Method Summary (collapse)
-
- (PropertyName) initialize(attr_name, var_name)
constructor
A new instance of PropertyName.
Constructor Details
- (PropertyName) initialize(attr_name, var_name)
Returns a new instance of PropertyName
10 11 12 13 |
# File 'lib/wsdl_mapper/naming/property_name.rb', line 10 def initialize(attr_name, var_name) @attr_name = attr_name @var_name = var_name end |
Instance Attribute Details
- (Object) attr_name (readonly)
Returns the value of attribute attr_name
6 7 8 |
# File 'lib/wsdl_mapper/naming/property_name.rb', line 6 def attr_name @attr_name end |
- (Object) var_name (readonly)
Returns the value of attribute var_name
6 7 8 |
# File 'lib/wsdl_mapper/naming/property_name.rb', line 6 def var_name @var_name end |