Module: Drillbit::Resource::Naming

Defined in:
lib/drillbit/resource/naming.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

CONTROLLER_RESOURCE_NAME_PATTERN =
/\A((.*?::)?.*?)(\w+?)(?:Index|Indicies)?Controller\z/

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



30
31
32
# File 'lib/drillbit/resource/naming.rb', line 30

def self.included(base)
  base.extend ClassMethods
end