PageRenderTime 175ms CodeModel.GetById 170ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/Ruby/lib/ruby/1.8/xmlrpc/config.rb

http://github.com/agross/netopenspace
Ruby | 40 lines | 12 code | 12 blank | 16 comment | 0 complexity | 59dc365327cd75948aeaefa313d45e0c MD5 | raw file
 1#
 2# $Id: config.rb 11708 2007-02-12 23:01:19Z shyouhei $
 3# Configuration file for XML-RPC for Ruby
 4#
 5
 6module XMLRPC
 7
 8  module Config
 9
10    DEFAULT_WRITER = XMLWriter::Simple            # or XMLWriter::XMLParser
11    
12    # available parser:
13    #   * XMLParser::NQXMLTreeParser
14    #   * XMLParser::NQXMLStreamParser
15    #   * XMLParser::XMLTreeParser
16    #   * XMLParser::XMLStreamParser (fastest)
17    #   * XMLParser::REXMLStreamParser
18    #   * XMLParser::XMLScanStreamParser
19    DEFAULT_PARSER = XMLParser::REXMLStreamParser
20
21    # enable <nil/> tag
22    ENABLE_NIL_CREATE    = false
23    ENABLE_NIL_PARSER    = false
24    
25    # allows integers greater than 32-bit if true
26    ENABLE_BIGINT        = false
27
28    # enable marshalling ruby objects which include XMLRPC::Marshallable
29    ENABLE_MARSHALLING   = true 
30
31    # enable multiCall extension by default
32    ENABLE_MULTICALL     = false
33    
34    # enable Introspection extension by default
35    ENABLE_INTROSPECTION = false
36
37  end
38
39end
40