Module: ROXML

Defined in:
lib/roxml.rb,
lib/roxml/xml.rb,
lib/roxml/definition.rb,
lib/roxml/xml/references.rb,
lib/roxml/hash_definition.rb,
lib/roxml/xml/parsers/libxml.rb,
lib/roxml/xml/parsers/nokogiri.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, XML Classes: ContradictoryNamespaces, Definition, HashDefinition, RequiredElementMissing, XMLAttributeRef, XMLHashRef, XMLNameSpaceRef, XMLObjectRef, XMLRef, XMLTextRef

Constant Summary collapse

VERSION =
'3.1.5'
PARSERS =
%w[nokogiri libxml].freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



11
12
13
14
15
16
17
18
19
20
# File 'lib/roxml.rb', line 11

def self.included(base) # :nodoc:
  base.class_eval do
    extend  ClassMethods::Accessors,
            ClassMethods::Declarations,
            ClassMethods::Operations
    include InstanceMethods

    attr_accessor :roxml_references
  end
end