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.
504 505 506 507 508 |
# File 'lib/fxmlloader/elts.rb', line 504 def initialize( paramString1,paramClass, paramString2) @name = paramString1; @sourceType = paramClass; @value = paramString2; end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
503 504 505 |
# File 'lib/fxmlloader/elts.rb', line 503 def name @name end |
#sourceType ⇒ Object
Returns the value of attribute sourceType.
503 504 505 |
# File 'lib/fxmlloader/elts.rb', line 503 def sourceType @sourceType end |
#value ⇒ Object
Returns the value of attribute value.
503 504 505 |
# File 'lib/fxmlloader/elts.rb', line 503 def value @value end |