Module: ROXML

Defined in:
lib/roxml.rb,
lib/roxml/xml.rb,
lib/roxml/options.rb,
lib/roxml/xml/rexml.rb,
lib/roxml/xml/libxml.rb,
lib/roxml/extensions/string/iterators.rb,
lib/roxml/extensions/array/conversions.rb,
lib/roxml/extensions/string/conversions.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, CoreExtensions, InstanceMethods, XML Classes: HashDesc, Opts, RequiredElementMissing, XMLAttributeRef, XMLHashRef, XMLObjectRef, XMLRef, XMLTextRef

Constant Summary collapse

VERSION =
'2.4.1'
HASH_KEYS =
[:attrs, :key, :value].freeze
TYPE_KEYS =
[:attr, :text, :hash, :content].freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



8
9
10
11
12
13
14
15
16
17
# File 'lib/roxml.rb', line 8

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