Class: Attribute

Inherits:
Object
  • Object
show all
Defined in:
lib/fxmlloader/elts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



503
504
505
# File 'lib/fxmlloader/elts.rb', line 503

def name
  @name
end

#sourceTypeObject

Returns the value of attribute sourceType.



503
504
505
# File 'lib/fxmlloader/elts.rb', line 503

def sourceType
  @sourceType
end

#valueObject

Returns the value of attribute value.



503
504
505
# File 'lib/fxmlloader/elts.rb', line 503

def value
  @value
end