Sha256: b5a621dc38d03d272269dd23b82fd8dcaebddd3b26478e4442879b816e581003
Contents?: true
Size: 312 Bytes
Versions: 12
Compression:
Stored size: 312 Bytes
Contents
module Netzke::Core class ComponentConfig < DslConfigBase def initialize(name, component) self.name = name.to_s self.client_config = {} end def set_defaults! self.item_id ||= name # default item_id self.klass ||= name.camelize.constantize # default klass end end end
Version data entries
12 entries across 12 versions & 1 rubygems