html2slim
html2slim copied to clipboard
Ruby API for conversion
I wish it would provide and document Ruby API so that Libraries(Rails Engines) could use them to let users have options to have the views in .slim
format as well.
Sorry, I don't follow.
I was looking for Ruby APi like
ERB2Slim.convert(File.read('path/to/some/file'), File.read('path/to/dest_file'))