Skip to content

Instantly share code, notes, and snippets.

Created January 4, 2012 19:36
  • Star 12 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
module Sass::Script::Functions
def random(max =, max.numerator_units, max.denominator_units)
Copy link

serv commented Sep 18, 2012

Where would you insert this kind custom code for gems in Rails typically?
Thank you.


Copy link

jeffbkk commented Oct 10, 2013

Using Bourbon mixin, non-progrmmer, i have to clue where to put this file... Should i inject it into function.rb modules or should i create a rb file somewhere on my system ?

Thank you

Copy link

@serv @jeffbkk
Yeah add it to the end of your compass.rb if you're using Compass

and run

compass compile --force

or check out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment