Module: Tramway::Decorators::NameBuilder

Defined in:
lib/tramway/decorators/name_builder.rb

Overview

Implements name convention for decorators

Class Method Summary collapse

Class Method Details

.default_decorator_class_name(klass) ⇒ Object



10
11
12
# File 'lib/tramway/decorators/name_builder.rb', line 10

def default_decorator_class_name(klass)
  "#{klass}Decorator"
end