Class: Xommelier::Xml::Element::Structure::Text
- Defined in:
- lib/xommelier/xml/element/structure/property.rb
Constant Summary collapse
- DEFAULTS =
{ type: String }.freeze
Instance Attribute Summary
Attributes inherited from Property
Instance Method Summary collapse
Methods inherited from Property
#complex_type?, #default, #default?, #initialize, #inspect, #ns, #type, #writer
Constructor Details
This class inherits a constructor from Xommelier::Xml::Element::Structure::Property
Instance Method Details
#node_type ⇒ Object
154 155 156 |
# File 'lib/xommelier/xml/element/structure/property.rb', line 154 def node_type :text end |
#required? ⇒ Boolean
158 159 160 |
# File 'lib/xommelier/xml/element/structure/property.rb', line 158 def required? [:required] end |