Sha256: 0e2ea9dec4724a7af2f337ff39021df63ccc787ef95cec2458a652c3dc685dd9

Contents?: true

Size: 888 Bytes

Versions: 6

Compression:

Stored size: 888 Bytes

Contents

require File.dirname(__FILE__) + "/command_handler_chain_factory"
require File.dirname(__FILE__) + "/xml/command_handlers/xml_name_space_command_handler"
require File.dirname(__FILE__) + "/xml/command_handlers/xml_text_command_handler"
require File.dirname(__FILE__) + "/xml/command_handlers/xml_tag_command_handler"
require File.dirname(__FILE__) + "/xml/command_handlers/html_command_handler"
require File.dirname(__FILE__) + "/xml/command_handlers/xml_command_handler"

# TODO move into XML namespace
module Glimmer
  # edit to add more command handlers and extend Glimmer
  CommandHandlerChainFactory.def_dsl(:xml,
    XML::CommandHandlers::XmlNameSpaceCommandHandler.new,
    XML::CommandHandlers::XmlTextCommandHandler.new,
    XML::CommandHandlers::XmlTagCommandHandler.new,
    XML::CommandHandlers::HtmlCommandHandler.new,
    XML::CommandHandlers::XmlCommandHandler.new
  )
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
glimmer-0.4.9 lib/glimmer/xml_command_handlers.rb
glimmer-0.4.8 lib/glimmer/xml_command_handlers.rb
glimmer-0.4.7 lib/glimmer/xml_command_handlers.rb
glimmer-0.4.6 lib/glimmer/xml_command_handlers.rb
glimmer-0.4.5 lib/glimmer/xml_command_handlers.rb
glimmer-0.4.4 lib/glimmer/xml_command_handlers.rb