Sha256: 420eba2c496582fefa58fd9381811f82c65361f9cfa7b7518f34b1348d0e72bb
Contents?: true
Size: 835 Bytes
Versions: 87
Compression:
Stored size: 835 Bytes
Contents
module Riddle class Configuration class XMLSource < Riddle::Configuration::Source self.settings = [:type, :xmlpipe_command, :xmlpipe_field, :xmlpipe_attr_uint, :xmlpipe_attr_bool, :xmlpipe_attr_timestamp, :xmlpipe_attr_str2ordinal, :xmlpipe_attr_float, :xmlpipe_attr_multi] attr_accessor *self.settings def initialize(name, type) @name = name @type = type @xmlpipe_field = [] @xmlpipe_attr_uint = [] @xmlpipe_attr_bool = [] @xmlpipe_attr_timestamp = [] @xmlpipe_attr_str2ordinal = [] @xmlpipe_attr_float = [] @xmlpipe_attr_multi = [] end def valid? super && ( !@xmlpipe_command.nil? || !parent.nil? ) end end end end
Version data entries
87 entries across 87 versions & 17 rubygems