class SlimLint::Filters::SexpConverter
Converts a Temple S-expression comprised of {Array}s into {SlimLint::Sexp}s.
These {SlimLint::Sexp}s include additional helpers that makes working with them more pleasant.
Public Instance Methods
call(array_sexp)
click to toggle source
Converts the given {Array} to a {SlimLint::Sexp}.
@param array_sexp [Array] @return [SlimLint::Sexp]
# File lib/slim_lint/filters/sexp_converter.rb, line 13 def call(array_sexp) SlimLint::Sexp.new(array_sexp) end