Module: Cms::Behaviors::Connecting

Defined in:
lib/cms/behaviors/connecting.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, MacroMethods

Class Method Summary collapse

Class Method Details

.default_naming_for(klass) ⇒ Object



5
6
7
# File 'lib/cms/behaviors/connecting.rb', line 5

def self.default_naming_for(klass)
  klass.name.demodulize.titleize
end