Class: Sekken::XML::Attribute
- Inherits:
-
Object
- Object
- Sekken::XML::Attribute
- Defined in:
- lib/sekken/xml/attribute.rb
Instance Attribute Summary collapse
-
#base_type ⇒ Object
Returns the value of attribute base_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#use ⇒ Object
Returns the value of attribute use.
Instance Method Summary collapse
Instance Attribute Details
#base_type ⇒ Object
Returns the value of attribute base_type.
5 6 7 |
# File 'lib/sekken/xml/attribute.rb', line 5 def base_type @base_type end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/sekken/xml/attribute.rb', line 5 def name @name end |
#use ⇒ Object
Returns the value of attribute use.
5 6 7 |
# File 'lib/sekken/xml/attribute.rb', line 5 def use @use end |
Instance Method Details
#optional? ⇒ Boolean
7 8 9 |
# File 'lib/sekken/xml/attribute.rb', line 7 def optional? use == 'optional' end |