Class: Habuco::AttributeDefinition
- Inherits:
-
Object
- Object
- Habuco::AttributeDefinition
- Defined in:
- lib/habuco/attribute_definition.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value, namespace) ⇒ AttributeDefinition
constructor
A new instance of AttributeDefinition.
Constructor Details
#initialize(name, value, namespace) ⇒ AttributeDefinition
Returns a new instance of AttributeDefinition.
5 6 7 8 9 |
# File 'lib/habuco/attribute_definition.rb', line 5 def initialize(name, value, namespace) @name = name @value = value @namespace = namespace end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/habuco/attribute_definition.rb', line 3 def name @name end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
3 4 5 |
# File 'lib/habuco/attribute_definition.rb', line 3 def namespace @namespace end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
3 4 5 |
# File 'lib/habuco/attribute_definition.rb', line 3 def value @value end |