Module: HtmlNamespacing::Plugin
- Defined in:
- lib/html_namespacing/plugin.rb,
lib/html_namespacing/plugin/sass.rb,
lib/html_namespacing/plugin/rails.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.default_relative_path_to_namespace(path) ⇒ Object
6 7 8 |
# File 'lib/html_namespacing/plugin.rb', line 6 def self.default_relative_path_to_namespace(path) path.gsub(/\//, '-') end |