Module: Sluggy
- Defined in:
- lib/sluggy.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- SLUG_REGEX =
%r{^[a-z0-9\-\_]+$}i
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 |
# File 'lib/sluggy.rb', line 4 def self.included(base) base.extend(ClassMethods) end |