Class: Attribute
- Inherits:
-
Object
- Object
- Attribute
- Defined in:
- lib/fxmlloader/elts.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#sourceType ⇒ Object
Returns the value of attribute sourceType.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(paramString1, paramClass, paramString2) ⇒ Attribute
constructor
A new instance of Attribute.
Constructor Details
#initialize(paramString1, paramClass, paramString2) ⇒ Attribute
Returns a new instance of Attribute.
540 541 542 543 544 |
# File 'lib/fxmlloader/elts.rb', line 540 def initialize( paramString1,paramClass, paramString2) @name = paramString1; @sourceType = paramClass; @value = paramString2; end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
539 540 541 |
# File 'lib/fxmlloader/elts.rb', line 539 def name @name end |
#sourceType ⇒ Object
Returns the value of attribute sourceType.
539 540 541 |
# File 'lib/fxmlloader/elts.rb', line 539 def sourceType @sourceType end |
#value ⇒ Object
Returns the value of attribute value.
539 540 541 |
# File 'lib/fxmlloader/elts.rb', line 539 def value @value end |