I suspect that you're code is not being required at all because the code you
pasted isn't going to work and the behavior you're seeing is as if it's not
present. The code should be:
def exp(value, power)
Sass::Script::Number.new(value.value**power.value)
end
chris
On Sun, Apr 24, 2011 at 11:32
Any chance you're doing this under Rails? If so, you'll need to
restart your server to pick up changes in gems and libraries. They're
not auto-loaded.
I hope this helps,
Victor
On Sun, Apr 24, 2011 at 11:23 PM, davidyeiser
da...@designintellection.com wrote:
Yes, you are correct. I tried
Please don't modify the gem installation files, that is a sure way to lose
your changes. If you're using sass on the command line make a file called
sass_extensions.rb and add the following:
module Sass::Script::Functions
def exp(value, power)