Module: Rfm::SaxParser
- Extended by:
- Forwardable
- Defined in:
- lib/rfm/utilities/sax_parser.rb
Defined Under Namespace
Modules: Handler Classes: Cursor
Constant Summary collapse
- PARSERS =
{}
- DEFAULTS =
OPTIONS constant not yet used. OPTIONS = [:name, :elements, :attributes, :attach, :attach_elements, :attach_attributes, :compact, :depth, :before_close, :each_before_close, :delimiter, :as_name, :initialize, :handler ]
[:default_class, :backend, :text_label, :tag_translation, :shared_instance_var, :templates, :template_prefix]
Class Method Summary collapse
-
.install_defaults(klass) ⇒ Object
Installs attribute accessors for defaults.
- .parse(*args) ⇒ Object
Class Method Details
.install_defaults(klass) ⇒ Object
Installs attribute accessors for defaults
106 107 108 109 110 111 112 113 |
# File 'lib/rfm/utilities/sax_parser.rb', line 106 def self.install_defaults(klass) klass.extend Forwardable klass.def_delegators SaxParser, *DEFAULTS class << klass extend Forwardable def_delegators SaxParser, *DEFAULTS end end |