Module: Messaging::Category

Defined in:
lib/messaging/category.rb

Defined Under Namespace

Modules: Macro

Class Method Summary collapse

Class Method Details

.included(cls) ⇒ Object



3
4
5
# File 'lib/messaging/category.rb', line 3

def self.included(cls)
  cls.extend Macro
end

.normalize(category) ⇒ Object



7
8
9
# File 'lib/messaging/category.rb', line 7

def self.normalize(category)
  Casing::Camel.(category, symbol_to_string: true)
end