Sha256: 7e201d01e12cfedecd0fe8c1aa50514d24eefc7540d7c7c402367bebde79e46e

Contents?: true

Size: 594 Bytes

Versions: 1

Compression:

Stored size: 594 Bytes

Contents

# lib/moxml/config.rb
module Moxml
  class Config
    attr_accessor :backend, :huge_document,
                  :default_encoding,
                  :default_indent,
                  :cdata_sections,
                  :cdata_patterns,
                  :strict_parsing,
                  :entity_encoding

    def initialize
      @backend = :nokogiri
      @huge_document = false
      @default_encoding = "UTF-8"
      @default_indent = 2
      @cdata_sections = true
      @cdata_patterns = ["script", "style"]
      @strict_parsing = true
      @entity_encoding = :basic
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moxml-0.1.0 lib/moxml/config.rb