Sha256: a67b59001e26c04082f25d6230822fec99da61ee8d5311346374962e10ef39df
Contents?: true
Size: 508 Bytes
Versions: 24
Compression:
Stored size: 508 Bytes
Contents
module SAXMachine class SAXConfig class CollectionConfig attr_reader :name def initialize(name, options) @name = name.to_s @class = options[:class] @as = options[:as].to_s end def handler SAXHandler.new(@class.new) end def accessor as end protected def as @as end def class @class || @name end end end end
Version data entries
24 entries across 24 versions & 7 rubygems