Class: Peanuts::XML::LibXML::Schema

Inherits:
Object
  • Object
show all
Defined in:
lib/peanuts/xml/libxml.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#handleObject (readonly)

Returns the value of attribute handle.



212
213
214
# File 'lib/peanuts/xml/libxml.rb', line 212

def handle
  @handle
end

#typeObject (readonly)

Returns the value of attribute type.



212
213
214
# File 'lib/peanuts/xml/libxml.rb', line 212

def type
  @type
end