Class: Netzke::Core::ComponentConfig

Inherits:
DslConfigBase
  • Object
show all
Defined in:
lib/netzke/core/component_config.rb

Instance Method Summary collapse

Methods inherited from DslConfigBase

#initialize

Constructor Details

This class inherits a constructor from Netzke::Core::DslConfigBase

Instance Method Details

#set_defaults!Object



3
4
5
6
# File 'lib/netzke/core/component_config.rb', line 3

def set_defaults!
  self.item_id ||= name
  self.klass ||= self.class_name.try(:constantize) || name.camelize.constantize
end