Module: Proscenium::SourcePath
- Included in:
- Phlex, ViewComponent
- Defined in:
- lib/proscenium/source_path.rb
Overview
Include this into any class to expose a ‘source_path` class and instance method, which will return the absolute file system path to the current object.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 |
# File 'lib/proscenium/source_path.rb', line 6 def self.included(base) base.extend ClassMethods end |