Class: MiddlemanWebpacker::FileLoader
- Inherits:
-
Object
- Object
- MiddlemanWebpacker::FileLoader
- Defined in:
- lib/middleman-webpacker/file_loader.rb
Direct Known Subclasses
Defined Under Namespace
Classes: FileLoaderError, NotFoundError
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Class Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
7 8 9 |
# File 'lib/middleman-webpacker/file_loader.rb', line 7 def data @data end |
Class Method Details
.load(path = file_path) ⇒ Object
9 10 11 |
# File 'lib/middleman-webpacker/file_loader.rb', line 9 def self.load(path = file_path) self.instance = new(path) end |