lib/slim_lint/engine.rb in slim_lint-0.2.0 vs lib/slim_lint/engine.rb in slim_lint-0.3.0
- old
+ new
@@ -21,7 +21,13 @@
# Converts Array-based S-expressions into SlimLint::Sexp objects
use SlimLint::Filters::SexpConverter
# Annotates Sexps with line numbers
use SlimLint::Filters::InjectLineNumbers
+
+ # Parses the given source code into a Sexp.
+ #
+ # @param source [String] source code to parse
+ # @return [SlimLint::Sexp] parsed Sexp
+ alias_method :parse, :call
end
end