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 =
File.read(File.expand_path("../../VERSION", __FILE__))
PARSERS =
%w[nokogiri libxml].freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



19
20
21
22
23
24
25
26
27
28
# File 'lib/roxml.rb', line 19

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

    attr_accessor :roxml_references
  end
end