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.
237 238 239 |
# File 'lib/peanuts/xml/libxml.rb', line 237 def initialize(type, handle) @type, @handle = type, handle end |
Instance Attribute Details
#handle ⇒ Object (readonly)
Returns the value of attribute handle.
235 236 237 |
# File 'lib/peanuts/xml/libxml.rb', line 235 def handle @handle end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
235 236 237 |
# File 'lib/peanuts/xml/libxml.rb', line 235 def type @type end |