Class: SlimLint::Filters::SplatProcessor
- Inherits:
-
Slim::Filter
- Object
- Slim::Filter
- SlimLint::Filters::SplatProcessor
- Defined in:
- lib/slim_lint/filters/splat_processor.rb
Overview
A dumbed-down version of Slim::Splat::Filter which doesn’t introduced temporary variables or other cruft.
Instance Method Summary collapse
-
#on_slim_splat(code) ⇒ Array
Handle slim splat expressions ‘[:slim, :splat, code]`.
Instance Method Details
#on_slim_splat(code) ⇒ Array
Handle slim splat expressions ‘[:slim, :splat, code]`
11 12 13 |
# File 'lib/slim_lint/filters/splat_processor.rb', line 11 def on_slim_splat(code) [:code, code] end |