Sha256: a8840350284a7f70bbcfa54002f7125d63dac9c0e50b684883c092eb745e46fe
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
# frozen_string_literal: true module Goldendocx class Configuration DEFAULT = { xml_serializer: :ox }.freeze attr_accessor :xml_serializer def initialize DEFAULT.each do |key, value| var_name = :"@#{key}" instance_variable_set var_name, value end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
goldendocx-0.3.0 | lib/goldendocx/configuration.rb |
goldendocx-0.2.3 | lib/goldendocx/configuration.rb |
goldendocx-0.2.2 | lib/goldendocx/configuration.rb |