Class: Peanuts::XML::LibXML::Schema
- Inherits:
-
Object
- Object
- Peanuts::XML::LibXML::Schema
- Defined in:
- lib/peanuts/xml/libxml.rb
Instance Attribute Summary collapse
-
#handle ⇒ Object
readonly
Returns the value of attribute handle.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, handle) ⇒ Schema
constructor
A new instance of Schema.
Constructor Details
#initialize(type, handle) ⇒ Schema
Returns a new instance of Schema.
214 215 216 |
# File 'lib/peanuts/xml/libxml.rb', line 214 def initialize(type, handle) @type, @handle = type, handle end |
Instance Attribute Details
#handle ⇒ Object (readonly)
Returns the value of attribute handle.
212 213 214 |
# File 'lib/peanuts/xml/libxml.rb', line 212 def handle @handle end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
212 213 214 |
# File 'lib/peanuts/xml/libxml.rb', line 212 def type @type end |