Sha256: f8887b4dceeb192cde8528e672010e787448f3c3b8688059ff4b36f3fb640cca

Contents?: true

Size: 212 Bytes

Versions: 5

Compression:

Stored size: 212 Bytes

Contents

module Netzke::Core
  class ComponentConfig < DslConfigBase
    def set_defaults!
      self.item_id ||= name
      self.klass ||= self.class_name.try(:constantize) || name.camelize.constantize
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
netzke-core-6.5.0.0 lib/netzke/core/component_config.rb
netzke-core-6.5.0.0.rc2 lib/netzke/core/component_config.rb
netzke-core-6.5.0.0.rc1 lib/netzke/core/component_config.rb
netzke-core-1.0.1.0 lib/netzke/core/component_config.rb
netzke-core-1.0.0.0 lib/netzke/core/component_config.rb