class LibXML::XML::Schema::Attribute
Constants
- OPTIONAL
- REQUIRED
Attributes
Public Instance Methods
Source
static VALUE rxml_schema_attribute_node(VALUE self) { xmlSchemaAttributeUsePtr attr; Data_Get_Struct(self, xmlSchemaAttributeUse, attr); return rxml_node_wrap(attr->node); }
Source
# File lib/libxml/schema/attribute.rb, line 13 def required? occurs == REQUIRED end