Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby API for conversion #39

Open
shivabhusal opened this issue Aug 19, 2017 · 2 comments
Open

Ruby API for conversion #39

shivabhusal opened this issue Aug 19, 2017 · 2 comments

Comments

@shivabhusal
Copy link

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.

@joaomilho
Copy link
Member

Sorry, I don't follow.

@shivabhusal
Copy link
Author

I was looking for Ruby APi like

ERB2Slim.convert(File.read('path/to/some/file'), File.read('path/to/dest_file'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants