Reputation:
I have Haml/Sass installed as a Gem and using it with Rails. I can't figure out, how to pass options like template_location
and style
to Sass. Sass::Plugin.options
doesn't work (since Haml/Sass isn't installed as a plugin). The gem is required through Rails::Initializer#gem
.
Upvotes: 2
Views: 889
Reputation: 5964
Sass::Plugin.options
should still work -- the "Plugin" refers to Sass being used with Rails, as opposed to standalone.
Upvotes: 1