Sha256: 803a9e968cc02c6e76071d8f9d67d53bf2e7eb4a18dde05d17cfa6d83c6a81b9
Contents?: true
Size: 295 Bytes
Versions: 2
Compression:
Stored size: 295 Bytes
Contents
module Netzke::Core class ComponentConfig < ActiveSupport::OrderedOptions def initialize(name, parent) self.name = name.to_s end def set_defaults! self.item_id ||= name # default item_id self.klass ||= name.camelize.constantize # default klass end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.8.3 | lib/netzke/core/component_config.rb |
netzke-core-0.8.2 | lib/netzke/core/component_config.rb |