Module: Premailer::Rails::CSSLoaders::FileSystemLoader
- Extended by:
- FileSystemLoader
- Included in:
- FileSystemLoader
- Defined in:
- lib/premailer/rails/css_loaders.rb
Overview
Loads the CSS from the file system.
Instance Method Summary collapse
Instance Method Details
#load(path) ⇒ Object
60 61 62 |
# File 'lib/premailer/rails/css_loaders.rb', line 60 def load(path) File.read("#{::Rails.root}/public#{path}") end |