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.



237
238
239
# File 'lib/peanuts/xml/libxml.rb', line 237

def initialize(type, handle)
  @type, @handle = type, handle
end

Instance Attribute Details

#handleObject (readonly)

Returns the value of attribute handle.



235
236
237
# File 'lib/peanuts/xml/libxml.rb', line 235

def handle
  @handle
end

#typeObject (readonly)

Returns the value of attribute type.



235
236
237
# File 'lib/peanuts/xml/libxml.rb', line 235

def type
  @type
end